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

[REBOL] Block member as a mutable variable (question)

From: tim:johnsons-web at: 10-Sep-2001 22:11

I have a nested block as such: file-block: [[0 ["recno" "integer"] ["name" "string"] ["country" "string"] ["speed" "integer"] ["range" "integer"]]] I set a word to the numeric value like this:
>> test: first first file-block
== 0 Then I increment test:
>> test: test + 1
== 1 <sigh>but</sigh> I don't get the results I want.
>> file-block
== [[0 ["recno" "integer"] ["name" "string"] ["country" "string"] ["speed" "integer"] ["range" "integer"]]] Alas! I was hoping that I would see a '1 as first first 'file-block What have I left out here? TIA Tim