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

[REBOL] Re: Rebol Memory Allocation Strategy?

From: al:bri:xtra at: 22-Sep-2002 14:48

And just in case you thought there was a difference between local and global words:
>> F: has [S] [S: make string! 2 append S random 100 S] ; Do this! >> X: compose [(F) (F) (F)]
== ["95" "52" "80"]
>> F: has [S] [S: "" clear S append S random 100 S] ; Don't do this! >> X: compose [(F) (F) (F)]
== ["32" "32" "32"] Andrew Martin ICQ: 26227169 http://valley.150m.com/