From Jayson Smith@nospamratguyspambegone@nospamplease.bellsouth.ihatespam.net to comp.sys.apple2 on Tuesday, October 05, 2004 18:09:57
From Newsgroup: comp.sys.apple2
Hi,
I'm having problems using the Modulus operator under Applesoft, or don't
know how to do it. In Integer, if I remember correctly, you could do, E.G.
10 poke 493,x mod 256:poke 494,x/256
and have a memory address poked in. That's just an example. However, doing print 900 mod 256
in Applesoft produces the result 9000, and I think I just figured out why.
I think it's printing the number 900, then the contents of variable 'mod'
which is 0. So how do you do that in Applesoft?
Thanks.
--- Synchronet 3.18b-Win32 NewsLink 1.113
Who's Online
Recent Visitors
KG7ODO Sunday, November 02, 2025 09:40:01
from Twin Falls, ID
via Telnet
KG5MCQ Sunday, November 02, 2025 09:39:43
from Prairieville, LA
via Telnet
AK4ZX Sunday, November 02, 2025 09:39:24
from Chattanooga, TN
via Telnet
N2NCB Sunday, November 02, 2025 09:39:08
from Owego, NY
via Telnet
KD4QMY Sunday, November 02, 2025 09:38:52
from Macon, GA
via Telnet
Malak Sunday, November 02, 2025 09:38:19
from Miramar, CA
via Telnet
Dr. What Sunday, November 02, 2025 09:13:09
from Rockford, MI
via Telnet