[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