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.
Retrocomputing Stack Exchange is a question and answer site for vintage-computer hobbyists interested in restoring, preserving, and using the classic computer and gaming systems of yesteryear. It only takes a minute to sign up.Sign up to join this community
MOD is an operator, not a function.
? 10 mod 9 and see yourself.
For anyone unfamiliar with mathematics the answer is simple. After trying brute force I found that the format is sometimes confusingly different than pencil and paper.
Here it is.
print 124 MOD 34 22