Can I not use constants in revserver scripts ?
Keith Clarke
keith.clarke at clarkeandclarke.co.uk
Fri Feb 10 10:45:25 EST 2012
Does revServer support put - isn't that a UI thing?
Maybe try checking for your constant by writing it to a file or setting a custom property instead - something a server can definitely do?
Best,
Keith..
On 10 Feb 2012, at 15:30, Matthias Rebbe wrote:
> Hi Alex,
>
> Tried here with LiveCodeServer 5.0.2 and got the same result. :(
>
> Regards,
>
> Matthias
>
> Am 10.02.2012 um 16:01 schrieb Alex Tweedly:
>
>>> 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.
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list