|
|
Lawrence W nous apporta ses lumieres en ce 19/01/2006 14:15:
> "Cousin Ricky" <ric### [at] yahoocom> wrote:
>
>>"Lawrence W" <lwi### [at] csicablenet> wrote:
>>
>>
>>Is there a reason you use #declares inside the macro instead of #locals?
>
>
> Because I don't know what I'm doing? It never occurred to me to use #locals
> instead. Is there a specific reason why you WOULD use #locals? Hmm, maybe
> I should just read the documentation.
>
#local are private to the macro or file where they are defined.
#declare are GLOBAL
If you use #local in a macro with the same name used by a #declare, it will take the
place of the
global only inside the macro. Once you exit the macro, the #local don't exist anymore
and the
original #declare is visible again, intact.
--
Alain
-------------------------------------------------
Agnostic #2: Did someone shit?
Post a reply to this message
|
|