[REBOL] Re: Creating functions with local variables
From: robert:muench:robertmuench at: 30-Dec-2002 15:50
> -----Original Message-----
> From: [rebol-bounce--rebol--com] [mailto:[rebol-bounce--rebol--com]]
> On Behalf Of Ammon Johnson
> Sent: Monday, December 30, 2002 3:29 PM
> To: [rebol-list--rebol--com]
> Subject: [REBOL] Re: Creating functions with local variables
> Have you tried USE?
> action: [use [myvar][myvar: id * 5 print myvar]]
> Didn't test that code...
Hi, I just thought about this one too. I haven't played around with it
but IMO this is the way to go. So people that provide plug-in code need
to use USE and specify their local variables. Robert