[REBOL] Re: Confusion about foreach
From: greggirwin::mindspring::com at: 17-Mar-2006 10:12
Hi Steve,
SW> Robert is right, string consists of single characters. Look at this
SW> console session:
>>> record: "abcd"
SW> == "abcd"
>>> record/1
SW> == #"a"
>>> type? record/1
SW> == char!
Don't forget to dump stuff out to the console, or a file (look up
ECHO) just to see what data is there when this kind of thing happens.
There are always times where you think the data is right, but apps
don't work. Another thing to remember when doing so, is to use MOLD on
values, so you can see the actual REBOL lexical form of the data.
-- Gregg