Re: Error trapping on TI-85?


[Prev][Next][Index][Thread]

Re: Error trapping on TI-85?



On Wed, 4 Dec 1996, Brett Glass wrote:

> I need to be able to trap mathematical errors in a TI-85 program, but
> can find no documentation on how to do this. Does the TI-85's

What kind of errors

> BASIC-like programming language contain the equivalent of an
> "On Error Goto" statement? The manual says that errors should

Nope... I wish...

> be handled by the program, but is mute on how to do this.

Just look for bad args, etc... check divides for zero using if's  and stuff
like that  give the option to change, or prettyprint an informative error.

--
Chris Kuethe <ckuethe@gpu.srv.ualberta.ca> LPGV Electronics and Controls
http://www.ualberta.ca/~ckuethe/
RSA in 2 lines of PERL lives at http://www.dcs.ex.ac.uk/~aba/rsa/
print pack"C*",split/\D+/,`echo "16iII*o\U@{$/=$z;[(pop,pop,unpack"H*",<>
)]}\EsMsKsN0[lN*1lK[d2%Sa2/d0<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<J]dsJxp"|dc`


References: