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

[REBOL] Re: Setting global from within a function.

From: lmecir:mbox:vol:cz at: 8-Feb-2001 20:34

Hi Terry, you probably meant something like this: the-funk: func [the-input][ if (first get the-input) = 2 [ set the-input 42 ] ] Regards Ladislav n: [2 1] ; == [2 1] the-funk 'n ; == 42 n ; == 42