Hi all. Is there a short to build a sequence of constants?
Two examples (supose rep() is the short to do this):
rep(3, 4) == <3 , 3, 3, 3>
rep(<1:3>, 2) == <1, 2, 3, 1, 2, 3>
Thanks.
========================================
Cezar Freitas (ICQ 109128967)
IMECC - UNICAMP
Campinas, SP - Brasil
|