Re: [TI BASIC] Optimizing
Posted: Sat 20 Dec, 2008 12:45 am
Instead of using:
use:
and if you are ever checking if Ans is holding 0 I would suggest using:
instead of:
both are equivalent but the first is smaller.
Code: Select all
if ans != 0 and ans !=21
Code: Select all
if prod(Ans != {0, 21
Code: Select all
if not(Ans
Code: Select all
if Ans = 0