Re: Anyone know useful ZX80 ROM tricks?
Posted: Thu Apr 13, 2017 6:29 pm
Try this 4K ROM listing - do not put any spaces in the lines with REM:
A practical use for this - I think - would be:
Regards,
Shaun.
Code: Select all
1 RAMDOMISE
2 GO TO 50
10 PRINT "I WIN"
15 REM
20 PRINT "NO, I WIN"
25 REM
30 PRINT "WINNING HERE"
35 REM
40 PRINT "ERR... I THINK I AM THE WINNER"
45 STOP
50 GO TO RND(4)*10
Code: Select all
10 IF A={condition to ignore next line} THEN REM
20 PRINT "SOMETHING"
Shaun.