[Top] [All Lists]

Re: I-D ACTION:draft-daboo-sieve-include-03.txt (fwd)

2005-08-30 14:04:34

On Tue, Aug 30, 2005, ""Nigel Swinson"" 

I think we all agree what the term "global variable" means in the 
variables draft.
But if people feel that the term "global variable" might be confusing, we 
can still replace it with something else as an editorial change.

Well at the risk of getting hit, I think it would be wise to change it from:

   All variables have global scope: they are visible until processing


   All variables have file scope: they are visible to the remainder
   of the current script.

As Kjetil pointed out last week, there is only one script, though there
may be many files included. We should be careful not to confuzzle the two
words. Also, from the point of view of the variables draft in a vacuum,
there is only one file, only one script, and only one scope. 

How about this:

    All variables have global scope within a script. Future specifications
    may allow for a script to be composed of more than one file, or for
    running more than one script per message [delivery?]. Such
    specifications may provide for different variable scoping rules.