[Newbies] combining arrays.....?

sergio_101 sergiolist at village-buzz.com
Tue May 4 01:47:46 UTC 2010


>     #(1 2 3 4 5) combine: #(a b c) should return the
>                            array #(1 a 2 b 3 c 4 5).

off hand, i would guess that there might be something weird happening
because 1,2,3 etc. are ints while abc are characters..

but the concatenate (,) command seems to work..

#('1' '2' '3')  ,  #('a' 'b' 'c').   =>  #('1' '2' '3' 'a' 'b' 'c')
#(1 2 3) ,  #(a b c).   => #(1 2 3 #a #b #c)


-- 
----
peace,
sergio
photographer, journalist, visionary

http://www.CodingForHire.com
http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101


More information about the Beginners mailing list