[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: global
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 17 Apr 2002 15:29:46 -0300
>If i use e.g.
>global in nil
>
>then any code that is dofiled or something has to obey to this, or it
>won't work. quite a mess for any Standard Libraries.
>Libraries suddenly depend on how the user wants to handle globals.
No: "global" respect scopes. dofile'd programas are not executed in the same
scope of the calling program; dofile is not include.
>or do you have to do something like this:
>global strfind,print
>global in nil
Yes. In either order, as Roberto explained.
--lhf