Apple Basic

From: lisard_at_zetnet.co.uk <(lisard_at_zetnet.co.uk)>
Date: Sat Feb 28 18:02:03 1998

On 1998-02-28 classiccmp_at_u.washington.edu said to lisard_at_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
Received on Sat Feb 28 1998 - 18:02:03 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:30:54 BST