On 1998-02-28 classiccmp(a)u.washington.edu said to lisard(a)zetnet.co.uk
:Eh, heh.
:So how do I get a modulus in Apple basic? The answer is not 'MOD'
:or '%'.
try A - INT(A/B) * B. certainly on our collection of homies the MOD
concept just didn't exist, so you had to cheat. why? well, some of those
basics didn't use integer math, and there's not much call for a MOD
function in floating point.
on the other hand, you could get yourself a real language like forth...
;> ;>
-- Communa (together) we remember... we'll see you falling
you know soft spoken changes nothing to sing within her...
Net-Tamer V 1.08X - Test Drive
Show replies by date