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

[REBOL] Re: Functions, /local and refinements

From: moliad:aei:ca at: 15-May-2004 21:38

> /local for local var is only a convention set by RT, but indeed there is no > difference at all between /local and any other refinements:
that's what I thought... of course some functions add it ('function 'has) when creating the internal func call.
> f: has [a b] [print [local a b]] > f/local 1 2 > > so one could use any refinements for local vars, only help do not know it.
we actualy often do without noticing it... like when we reuse a refinement word that is not set by the user... -MAx