Calculator Community > TI-BASIC

Jump Code Explanation

<< < (2/4) > >>

meishe91:

--- Quote from: DJ Omnimaga on August 07, 2010, 03:06:52 pm ---I saw this on United-TI earlier. Awesome job :)

--- End quote ---

Ya, I uploaded it there first because since I use Weregoose's type face it's easier to type [goose][/goose] instead of everything you have to here :P


--- Quote from: ztrumpet on August 07, 2010, 06:34:44 pm ---Awesome job!  I just have a couple of things to nitpick at. :)

"DelVar ARepeat 0"
I recommend staying away from putting DelVar on the same line as control structures.  This works fine now, but if you try this code you can see what can happen:
For(A,0,1
If not(A
Then
Delvar BIf 1
Then
Disp "HI
End
End
End
Make sense. :D

"There is For(, While, and Repeat that all do differnt things (well sorta, they more just act differently)."
Sorry to nitpick, but I thought it looked too weird to not be a grammar Nazi on. :)  (different)

"If you ever use 0→A, or zero stored into any variable, then replace it with DelVar A, or what ever variable is used. It is much more memory efficient."
Not quite.  It's only more memory efficient if you (ab)use the "extra line" feature of DelVar.  Even then, it only saves you one byte.

==================

Regardless of this constructive criticism, I think this is a wonderful tutorial!  Excellent job!  Thanks Meishe. ;D

--- End quote ---

Ya, looping commands are really the only thing I ever put them on because I know it won't change them in cases like this.

The typo was just because I typed it all in Notepad first. I thought I got everything but I guess I didn't. Thanks.

Ya, I know it isn't "much" more efficient but it can save space depending on the situation, especially when you need every byte to come off a program.

patriotsfan:
Nice explanation. I like the way you go about the code step by step which makes it much easier to understand (at least for me). I will certainly read all off it and learn. Thanks. :)

meishe91:
Thanks. I have two other explanations like this somewhere in this sub-forum but they are a bit hidden now :P My tutorial thread, located here, has them though if you're interested. It also has links to the other tutorials and guides made by Omnimaga's very own.

patriotsfan:
Yeah, I've read your other explanations before and they were pretty good. :) Definitely helps people who are trying to master TI-BASIC. :D

meishe91:
Thanks :)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version