e I think there was a thread on this that I read before. If I recall correctly, setting a constant inside a handler works for THAT handler. So if you have.
<?lc command tryConst constant k="inside handler" put k end tryConst tryconst "inside handler" will be displayed. But setting it outside of a handler doesn't work. If you have the following <?lc command showConst constant k="inside handler" put k end showConst constant k="OutsideHandler" put k showconst put k ?> You end up with kinsidehandlerk Keith, yeah revserver supports put. Anything that is "put" without a destination container ends up as part of the final page. On Fri, Feb 10, 2012 at 8:30 AM, Matthias Rebbe < [email protected]> 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 > > [email protected] > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
