Hi,

I've never looked at console handling escape chars, even on the Amiga,
so all that sequencies are a little bit unreadable. But we have REBOL,
so we can make our lifes easier. e.g.:

1)
print "^(1B)[10CHi!"

in opposite to:

cursor: func [parm [string!]][join "^(1B)[" parm]
print ["How are you" cursor "7D" cursor "K"]

which one print is more readable?

2) foreach word next first objname [print word]
    foreach value next second objname [print value]

in opposite to proposed:

words-of: func [objname] [next first objname]
values-of: func [objname] [next second objname]

foreach word words-of objname [print word]
foreach value values-of objname [print value]

which ones are more readable?


The problem is - we can use above solution, but if they will not become
part of rebol in the form of so called mezzanine functions, they will
not be publicly accepted. REBOL Tech? :-)

-pekr-

Reply via email to