cross-stack globals, also, file inclusion

Alex Rice alex at mindlube.com
Tue Oct 21 14:57:18 EDT 2003


On Tuesday, October 21, 2003, at 12:53  PM, Dar Scott wrote:

>
> On Tuesday, October 21, 2003, at 12:39 PM, Alex Rice wrote:
>
>> global constant kVersion=1.234
>>
>> and have kVersion be so defined in script in the entire project.
>
> Hmmm.  This will require a decision on what is done if there is a 
> conflict since all scripts are compiled independently.  Would this 
> also require all scripts to be compiled before execution can start?  
> Or are you thinking this would only be in the primary stack script?

I don't think it is that problematic- just think of it as a global that 
cannot be changed. I guess it would have to be defined in the mainstack 
script though.


Alex Rice <alex at mindlube.com> | Mindlube Software | 
<http://mindlube.com>

what a waste of thumbs that are opposable
to make machines that are disposable  -Ani DiFranco



More information about the use-livecode mailing list