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

[REBOL] Re: change/at

From: tomc:darkwing:uoregon at: 18-Sep-2002 10:02

yes, it is true that you cannot both get and set a word with the same variable in your example ":i:" there are many ways around it of course an old standby is
>> test: [false false false]
== [false false false]
>> i: 2
== 2
>> poke test i true
== [false true false] another Gerald C.(?) inspired back in June
>> test: [false false false]
== [false false false]
>> i: 2
== 2
>> do rejoin['test "/" i ": " true]
== [false true false] I am sure there are many others. On Wed, 18 Sep 2002, pat665 wrote: