Search the Community
Showing results for tags 'basicv2'.
-
Warning: I'm new to Commodore/Commander x16 BASIC. And 35 years out of practice in BASIC. And never really that advanced to begin with. And, I'm working on someone's else's code that I cannot make public at this time. I have a linear array of 6 values. The code uses FOR-NEXT to fill all 6 values with a random integer between 3 and 25. The square root of the RND value is calculated before being being multiplied (in case that makes a difference) . The screen is cleared then the values are printed on screen and the user is prompted (GET B$) to accept them or choose 6 new random values. If the user reject them, then the program goes back to the FOR-NEXT loop to create 6 new values. Problem is, if they reject the values 19 times, the program crashes with "?OUT OF MEMORY ERROR IN 650 (the line with the FOR-NEXT and RND). I can use CLR before the FOR-NEXT; no OOM error. But this borks all the arrays in the program that are filled using DATA statements. The FRE(0) function seems like it is applicable I cannot understand how to use it to clear out the array (if that is what causes the OOM)?
- 16 replies
-
Version 0.3.4
61 downloads
Aritm is a game that trains you in mental calculation. It only teaches what is necessary to know in order to calculate manually using pen and paper. It adapts and asks more about what you answered wrong before. Aritm is written in pure BASIC v2 and uses X16 control codes for text and screen colors, and has sound effects. Future versions will probably support larger text in game. Aritm is available for many platforms including graphing calculators, Java phones, spread sheets, and common retro computers.-
- game
- educational
- (and 9 more)
-
Aritm View File Aritm is a game that trains you in mental calculation. It only teaches what is necessary to know in order to calculate manually using pen and paper. It adapts and asks more about what you answered wrong before. Aritm is written in pure BASIC v2 and uses X16 control codes for text and screen colors, and has sound effects. Future versions will probably support larger text in game. Aritm is available for many platforms including graphing calculators, Java phones, spread sheets, and common retro computers. Submitter mobluse Submitted 09/12/20 Category Games
-
- 2
-
-
- game
- educational
- (and 9 more)