Can someone please tell me why this script doesn't work correctly? When I
press the button the first time, 5500 is entered as it is supposed to, when
I hit the button the second time, no change. What am I missing here?
Thanks in advance,
George Carlile
[EMAIL PROTECTED]
on mouseUp
set savePrecision = the floatPrecision
set the floatPrecision = 0
if field "s1" = "0" then
put "5500" into field "s1"
else
if field "s1" = "5500" then
put "0" into field "s1"
set the floatPrecision = savePrecision
end if
end if
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]