[REBOL] Re: Return of a function
From: lmecir:mbox:vol:cz at: 19-Apr-2002 13:28
Hi Philippe,
the 'hm variable is local to the function, because it is the name of an
argument of the TRANSFO-TIME function. (arguments are local) If you want to
retain the returned value, you should store it somewhere. The following
would work too:
hm: transfo-time heure
, but the 'hm word is not the same word as the 'hm word used in the function
in this case.
----- Original Message -----
when I write heure: transfo-time heure.. the variable is grabbed by the
variable, right ?