Enigma: how to quote zero
Raymond E. Griffith
rgriffit at ctc.net
Thu Feb 10 09:04:28 EST 2005
> 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
Here is a little script which might help you find your way:
on mouseUp
set numberformat to "00"
put 1+0 into fld 1
end mouseUp
>
> Refer please to Oikos Homestation <http://www.psy.ku.dk/bjerg>, for
> further information
>
> Kresten Bjerg
>
> Mailto:Kresten at psy.ku.dk
>
> Adress 1: Ollekolle, Institut for psykologi, Københavns Universitet Amager,
> Njalsgade 88, 2300.Copenhagen, DK - (+45) 35 32 87 99
>
> Adress 2: Sortedam Dossering 95 B, 2100 Copenhagen, DK - (45) 35 38 99 39
>
> Adress 3: Skrivergaarden, Högsma pr Glimåkra, SE - (+46) 708 915 386
>
> ______________________________________________________________
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list