I'm finding the MOD operand is not working when I enter it in the BASIC prompt. This is how I write it out.
PRINT 1 * MOD(23) ?SN Error
I have looked into a reference guide and it is too broad on the MOD operand. On page 10 in the link.
Several BASIC dialects have
MOD operators, which return the quotient and remainder respectively from integer division. This is nearly equivalent to using
% operators on integers in C. They are infix operators, even though their syntax is a keyword rather than a symbol.
/ operator in most BASICs performs floating-point division and has no remainder counterpart.
A = 124 D = 34 Q = A DIV D R = A MOD D F = A / D PRINT Q,R,F
3 22 3.6471