imyourfoot wrote:warriorness wrote:EvanED wrote:warriorness wrote:ohki wrote:warriorness wrote:- Code: Select all
"chosen by fair dice roll.
"guaranteed to be random.
Disp(4
Disp( Reminds me of my Ti-83, but I don't know if there were comments. So probably not.
Putting a String on its own line with nothing else counts as a comment.
Either that, or it prints the string... I don't remember
The TI-85 doesn't interpret strings on their own, so you're almost certainly right.
But I use an 84 :\
I've never used an 84, but it's my understanding that aside from a few extra functions/features on the 84 it's the same as an 83. On an 83 isolated strings don't do anything, so they basically function as comments (Note that the string still has to be interpreted, so it'll slow your program down if that's a concern). The exception to that is if the string is the last non-empty line executed by the program, in which case it will display the string in lieu of "Done". The same trick also works with numbers/variables/expressions, which can save a couple bytes if you need your program to output a result at the end.
To all intents and purposes:
TI-83 = TI-84 = Silver Editions = Plus, etc. etc. = Sega Master System
It's a Zilog Z80 as the main chip in each of these, so they all use the same programming. Basically they just ported the BASIC compiler from one platform to the next because the ASM is the same.
TI-89 = TI-92 = Titanium Edition = Voyage 200 = Sega Genesis
This is a Motorola 68000 chip.
The only difference between the calculator models in each group is the amount of memory or the processor's speed (because the 83 and 84, etc. have processors with different clock speeds, though they're all z80).
If you wanted to make your own Genesis, you could start with a TI-89 model, but you'd probably need a bunch of other chips and a few other input sources, power supply, etc. (*Considers modding his calculator to eventually become the equivalent of a Nomad or 32X or something*)