Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: to-char

From: g:santilli:tiscalinet:it at: 12-Feb-2002 14:21

At 03.40 12/02/02, Joel wrote:
>> to-charblock: func[aword [string!] /local charblock letter][ >> charblock: [] >> clear charblock >> foreach letter aword [ >> append charblock letter >> ] >> return charblock >> ] >> > >Would either > > charblock: copy [] > >or > > charblock: clear [] > >work as well for you?
Oh and BTW, in the second case (and the one used above) you will have problems if you write something like: a: to-charblock "123" b: to-charblock "456" (Just in case Jason doesn't know...) Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r