Re: TIB: TI-82 Basic
[Prev][Next][Index][Thread]
Re: TIB: TI-82 Basic
How to bypass ifs:
If A=26
K+1->K
This can be done a better way.
K+(A=26)->K
That is it, I hope you understand what it does. If it is true it will
add 1 to K. If it is false it will add zero to K. You can use this in
many ways with <,>,= and not equal to.
minman@juno.com wrote:
>
> Without a doubt, the statement that slows down my TI-82 Basic
> programs the most is the "If" statement. I was wondering if any of you
> have any good ideas as to how to shorten, bypass, or not use the "If"
> statement to accomplish the desired effect. I am sure that some of you,
> especially longtime "TI programmers", used some techniques to optimize
> the speed of your programs.
> Thank you for your time.
>
> - minman
References: