Anything Sinclair ZX Basic related; history, development, tips - differences between BASIC on the ZX80 and ZX81
- Posts: 379
- Joined: Wed Apr 22, 2009 9:22 am
dr beep wrote: ↑
Wed Mar 01, 2017 9:25 am
And as for keeping the quarters on display on the ZX80:
LET M=INT (T/4)
PRINT M;".";"00255075"(Q TO Q+1)
If the number goes negative, you will need a condition to check and reverse the string or something like that.
- Posts: 1057
- Joined: Thu Jun 16, 2011 7:35 am
- Location: Boxmeer
The test on M going under 0 must be done when money is decreased, not at the display.
Who is online
Users browsing this forum: No registered users and 2 guests