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

[REBOL] Re: bug? (Of course not)

From: chris:ross-gill at: 20-Sep-2001 8:04

Hi Hallvard,
> Sorry to bother you all with it. But how do I avoid this? I have > tried defining return-value as /local, but with no success.
Simply make a copy of the value so the value itself is not referenced: dummy: func [][ return-value: copy "1" append return-value "1" return-value ] - Chris