3 ms·
Any guesses as to what the subroutine on line 1000 does?
by raldi 13y ago
Any guesses as to what the subroutine on line 1000 does?
- krapp 13y agoPlays the theme music?
- rootbear 13y agoI think it might have to do with formatting the displayed output. There are nine columns in the display and the loop at line 45 puts nine values into L$. But why the GOSUB only occurs when I is 9 or 16 isn't clear.
- derekp7 13y agoActually it is an old school delay loop -- it runs an empty loop from 1 to 200, which on the old computers would take some significant fraction of a second. This adds a slight delay after printing each line. Proper programming would call a sleep or usleep function, of course.
- raldi 13y agoOh, when I looked at this earlier, the second page of code wasn't there, so we had to guess what line 1000 looked like. I see the page has been updated (or my browser got its act together).