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

[REBOL] problems with local vars??? Re:(8)

From: lmecir:geocities at: 20-Aug-2000 23:57

Hi, no "Dialect" notion can help you with your problem. (My personal preferences are, that Rebol functions aren't "Rebol dialect", because I think that there is a difference between a Rebol code in a block and a Rebol function, which has got more attributes, than Rebol code - see my Rebol function model in Words, Bindings and Contexts thread.) Back to your problem. The difference you see can be visualised here: a: "" b: :a append :b "a" probe :a a: 0 b: :a add :b 1 probe :a The results show, that there are differences between integers and strings in Rebol, Rebol strings are mutable (you can change them), while integers are immutable (you cannot change them). More can be found eg. in: or in the Evaluation thread. Regards Ladislav