Copy/paste into SC (Source Coder), export.
Hmm, repeat and while loops are faster, I do beleive that gotos work by scannign the prgm from top to bottom, which can take a while >.">
qazz42 wrote:
Hmm, repeat and while loops are faster, I do beleive that gotos work by scannign the prgm from top to bottom, which can take a while >.">
That is correct. However, Goto's alone don't create memory leaks. (cf. TI-81 BASIC, which doesn't have Then, While, Repeat, For(, and probably others)
So, in conclusion
~use gotos properly
~never use stop
~I like jello
Edit by Tanner: The jello part was completely random, and uneeded.
~use gotos properly
~never use stop
~I like jello
Edit by Tanner: The jello part was completely random, and uneeded.
qazz42 wrote:
So, in conclusion
~use gotos properly
~never use stop
That sounds about right to me. Also use Repeat, While, and For when possible, because Goto incurs the cost of going through the whole program from the top every time you hit a Goto. ~use gotos properly
~never use stop
qazz42 wrote:
which, slows the program >.<
Indeed, which in some cases is ok if it saves you some complexity and it's not a Goto that you'll be constantly hitting. If it is, for example, your inner movement loop, however, it's a very bad thing. Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
» Go to Registration page
» Go to Registration page
» Goto page Previous 1, 2, 3
» View previous topic :: View next topic
» View previous topic :: View next topic
Page 3 of 3
» All times are UTC - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Advertisement