Enigma: how to quote zero
Klaus Major
klaus at major-k.de
Thu Feb 10 08:29:33 EST 2005
Dag Kresten,
> I am trying to script a handler to produce buttons with scripts
> including lines which contain "0". but use of quote & 0 & quote (or
> zero) just reproduce the word "quote" instead of the needed "s.
> There must exist a solution. but all experiments seem to fail
>
> this is how the (functioning) lines in the "handmade" buttons look
> like:
>
> if the number of chars of item 1 of retro = 1 then
> put "0" before retro
> end if
> put "0" into char 5 of retro
> put short name of me into ikon
> put ikon after field retro
>
> Kresten
Hmmm...
put QUOTE & "0" & QUOTE -> "0"
Try to QOUTE the zero :-)
Or am i missing something?
Regards
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list