Can I not use constants in revserver scripts ?

Alex Tweedly alex at tweedly.net
Fri Feb 10 10:01:01 EST 2012


> constant K = "asdf"
> put K

If I put the above 2 lines in a script in a stack or in the IDE/msgbox, 
I get (as expected) "asdf" output.

But if do the same thing in a revserver script  (in my case, on-rev),  I 
get "K".

That seems wrong to me, and the dictionary for constant includes server 
in its platform list.
Am I missing something ?  Can someone else try it and see if I'm doing 
something odd.

Thanks
-- Alex.




More information about the use-livecode mailing list