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

[REBOL] Re: Func, why does it remeber previous data?

From: al:bri:xtra at: 11-Nov-2000 11:41

> tail_data: ""
Use: tail_data: make string! 0 instead. Think of ":" as being: Set the word to the left to _POINT_ to the string at the right. So this: tail_data: "" actually means: Set the word "tail_data" to this particular empty string. It's like assigning a pointer in C/C++, OK? The same thing applies here:
> result: []
Use: result: make block! 0 instead. Andrew Martin ICQ: 26227169 http://members.nbci.com/AndrewMartin/