0 Members and 1 Guest are viewing this topic.
If TI-Basic is like a really slow and crippled version of Python that can never be compiled, then Axe is like a super fast, awesome, easy-to-use version of C (or C++ or C#, etc.) that, due to its sheer awesomeness, can make incredible games (grayscale and ultra-speed! Sprites!), but isn't so good at math. (But with great power comes great responsibility - Axe can cause RAM clears if you aren't careful, and you will probably clear your RAM numerous times during debugging. It can also probably be harnessed to deliberately kill your calc, although it hasn't happened to anybody I know. So just back up frequently, keep everything in Archive and use DoorsCS's homerun feature to run programs directly from archive). Edit: And assembly is like coding with butterflies. http://xkcd.com/378/
Anyway, you'll get used to the RAM clear screen very quickly. For me, the first week of Axe was straight RAM clears while I learned the syntax. Now, I still get RAM clears almost every day I use Axe, but that's because I always forget to add exit conditions for my loops
While / Repeat stuffReturn If getKey(15)...End
Yeah... lesson number 1: Always, always, always, include an escape clause in your code if you're uncertain as to what'll happen.I hate infinite loops.
Ah, ok, weird, I swear there was a way to do it which would cause the getkey(15) to be skipped, you had to put more parenthesizes to fix it.