MOD function does not work! So be warned!
Rob Cozens
rcozens at pon.net
Sun Mar 31 13:56:01 EST 2002
>It is not the loop, it is addition.
Dar, et al:
I think there's more to it than that:
In
<<
on testMod
put 249 into var1
put var1 into var2
add 1.0 to var1
repeat 10
add 0.1 to var2
end repeat
put (var1=var2)&&((var1 mod 5)=(var2 mod 5))
end testMod
<<
The first test always resolves to true...only the second test yields
a false result.
--
Rob Cozens
CCW, Serendipity Software Company
http://www.oenolog.com/who.htm
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
More information about the use-livecode
mailing list