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

[REBOL] Re: How to use a word instead of a numeric value

From: gerardcote::sympatico::ca at: 20-Jun-2005 15:35

Thanks Anton, It did the job and also answered a similar question I had about the "For" iterative construct when I used it with a calculated word constants, a bit as in: constant: 1 - 3 for c 10 1 constant [print c] When worked out in a similar way before, sometimes I had to change the for construct to a while construct to clear the non desired behaviour. The For simply refused to work as it should (at least to my eyes) and showed the kind of restrictions you pointed out below. Curiously however the example above worked flawlessly so mine was probably more complex but I can't remember it. Gerard