Omnimaga
Calculator Community => TI Calculators => Axe => Topic started by: collechess on September 11, 2011, 02:25:51 pm
-
In the second Axe game I made, I let the user restart the game inside the program. However, I lost the newer version of that program, and I forgot how I did it. So my question is, how can you get a program to restart the game loop without making the whole game loop inside a repeat loop or subroutine.
-
Maybe you could have a label just before the loop starts/variables initialized (Lbl ST or something) which the program Goto's upon the keypress.
-
Yeah, just use Goto. It's perfectly fine in Axe, unlike in TI-BASIC.
-
or get fancy, and throw in a menu. and send it back to there
-
Yeah, just use Goto. It's perfectly fine in Axe, unlike in TI-BASIC.
Except if you are inside a subroutine, because it will always wait for a Return