I don't remember - is there an INT function in Apple basic? If so, it
would be easy to do (I only used 4 variables for clarity):
A = the number
B = the number you're dividing by
C = the result of division
D = the modulus
C = INT(A/B)
D = A - C * B
Viola! D is the result of A mod B!
On Sat, 28 Feb 1998, R. Stricklin (kjaeros) wrote:
Eh, heh.
So how do I get a modulus in Apple basic? The answer is not 'MOD' or
'%'.
ok
r.