[REBOL] Re: Functions, /local and refinements
From: g:santilli:tiscalinet:it at: 15-May-2004 15:33
On Saturday, May 15, 2004, 3:08:40 PM, you wrote:
LM> Hi, I found:
>>> f: func ["aa" /local x /a aa] 
>>> help f
LM> F is a function value.
>>> g: func ["aa" /a aa /local x] 
>>> help g
LM> G /a aa
LM> G is a function value.
LM> aa -- (Type: any)
LM> Is there really such a big difference between F and G?
Of course not, but HELP is just following the convention of /local
terminating the argument list... Changing it so that it can find
refinements after /local would be no harm, though; however I don't
think we should encourage people writing functions that way. ;-)
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/