(Nice summary on declaring variables, Jan)

On Nov 27, 2006, at 2:35 PM, Jan Schenkel wrote:

the compiler
...
may even decide that the default
value of that variable is the same as the name of the
variable.

Note that the default value does not mean the same as initial value.

Without declaration: A name (used like a variable) will mean a literal string containing that name in a script up until the line in the script where it is used as a destination. Starting at that line (and including that line) the name will mean a variable with the initial value of empty. Those are compiler lines, not executed lines.

So you can use it as a literal or as a variable, but it you use it both ways, it can be confusing.

Dar
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to