0 Members and 2 Guests are viewing this topic.
Is Petit Computer as slow as TI-BASIC?
I think TI-84+ BASIC does For(Z,0,1000:End in 1.5 or 2 seconds, but there is no sprite nor rectangle command, so sprites have to be drawn pixel by pixel, using line or text commands, and maths are not very fast.
Quote from: DJ Omnimaga on January 27, 2014, 11:47:30 pmI think TI-84+ BASIC does For(Z,0,1000:End in 1.5 or 2 seconds, but there is no sprite nor rectangle command, so sprites have to be drawn pixel by pixel, using line or text commands, and maths are not very fast.Actually, in the program above, the ?V line is a shorthand for PRINT V. So it's actually looping and printing each value. (Though, that's usually more a test of the speed of the print statement than that of the loop.)