-
Posts
1,225 -
Joined
Frozone212's Achievements
Stargunner (7/9)
894
Reputation
Single Status Update
-
Working on a new Commodore Pet RPG: Haven.
It borrows a bit from Fallout new vegas but is mostly self contained.
- Show previous comments 18 more
-
Line 14: The INPUT statement won't accept just a blank line, you need to type something.
Line 15: The GET statement will flash by in 1/100 of a second, with practically no chance of pressing "S". Perhaps you want the opposite action, that the GET statement waits until A$ is not blank.
Line 18: The INPUT statement needs a numeric input like pointed out before. Any letters typed in will cause ?REDO FROM START. You might want to indicate that the user should give a number 1-3.
Line 23: The FOR loop goes from 1 to 2, then you check if the loop variable is 1 which it never can be. However it will always be 2 so it skips to line 28, meaning a bunch of PRINT statements and the DATA statements never are read. It might be just as well, because you're trying to read string data into an numeric variable that would lead to ?TYPE MISMATCH error.
Line 39: The DIM is superfluous as I pointed out elsewhere, but as long as you only run it once it doesn't hurt.
Line 68: You use LIST in the middle of the program. I believe that will stop execution?
Line 179: You're missing an ending parenthesis on the TAN formula.
Line 181: You initiate a FOR loop, followed by a numeric INPUT that will overwrite the loop variable, but since you have no NEXT, it might not matter.
Line 204: You're missing an ending parenthesis on the formula.
All that is strictly from a code perspective, nothing about how the gameplay is.