English Like?
    Alex Tweedly 
    alex at tweedly.net
       
    Wed May 24 15:44:46 EDT 2017
    
    
  
Then I'll confess that what I would actually do is
  - make them globals (??!!)
  - initialize them in the "on librarystack" handler of my standard 
(i.e. always used) library stack
  - and be comforted that my use of 'explicitvars' will ensure I know if 
they are not included as global in any script that uses them.
Now if only I could have "constant global"s I'd be (almost*) happy.
Alex.
* almost - because I'd then still grumble about not being able to do 
simple expressions in constant statements; e.g.  constant kSecsPerDay = 
60 * 60 * 24, kSpD = kSpM * kMpH * kHpD
On 24/05/2017 20:35, Mark Wieder via use-livecode wrote:
> On 05/24/2017 12:25 PM, Alex Tweedly via use-livecode wrote:
>> constant kRectLeft = 1, kRectTop = 2, kRectRight = 3, kRectBottom = 4
>>
>> (or whatever ... haven't looked it up :-)
>
> Exactly the point.
> I'd have to store this somewhere, and either grab it each time I need 
> it or look it up and reinvent it each time.
>
    
    
More information about the use-livecode
mailing list