MOD function does not work! So be warned!
Dar Scott
dsc at swcp.com
Fri Apr 5 19:31:01 EST 2002
On Friday, April 5, 2002, at 10:00 AM, Rob Cozens wrote:
> I think Xtalk should follow normal programming convent and have
> mod reject non-integer values.
The definition from Knuth's _Fundamental Algorithms_ is this:
x mod y = x - y * floor( x/y ) if y is not 0
x mod 0 = x
where x and y are real numbers
(All programmers over 40 are required to give a reverent "Ahhh" at
the mention of this work.)
Dar Scott
More information about the use-livecode
mailing list