Defining locals or constants

Ben Rubinstein benr_mc at cogapp.com
Thu May 15 10:35:44 EDT 2008


On 15/5/08 10:47, David Bovill wrote:
> Is there an easy way to do this type of thing:
> 
> constant WorldRadius = WorldConstant/pi
> 
> local LocalVar = WorldRadius * 2
> 
> 
> That is initialise a local variable or constant to the result of a
> calculation. I can use a "preOpenStack" message to trigger a script.... but
> this is not always appropriate and clumsy - is there a simpler way?

http://quality.runrev.com/qacenter/show_bug.cgi?id=1241

vote vote vote...

- Ben




More information about the use-livecode mailing list