Application Guide

200 Alphabetical Listing
warnCodes ()
Catalog >
warnCodes(Expr1, StatusVar)
expression
Evaluates expression Expr1, returns the
result, and stores the codes of any
generated warnings in the StatusVar list
variable. If no warnings are generated, this
function assigns StatusVar an empty list.
Expr1 can be any valid TI-Nspire™ or
TI-Nspire™CAS math expression. You
cannot use a command or assignment as
Expr1.
StatusVar must be a valid variable name.
For a list of warning codes and associated
messages, see page 251.
To see the entire result, press £ and then
use ¡and¢ to move the cursor.
when()
Catalog >
when(Condition, trueResult [, falseResult]
[, unknownResult]) expression
Returns trueResult, falseResult, or
unknownResult, depending on whether
Condition is true, false, or unknown.
Returns the input if there are too few
arguments to specify the appropriate result.
Omit both falseResult and unknownResult
to make an expression defined only in the
region where Condition is true.
Use an undef falseResult to define an
expression that graphs only on an interval.
when() is helpful for defining recursive
functions.