Texas Instruments NS/CLM/1L1/B Reference Guide - Page 95
Catalog >, While, with,
UPC - 033317190256
View all Texas Instruments NS/CLM/1L1/B manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 95 highlights
W when( ) 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. While While Condition Block EndWhile Executes the statements in Block as long as Condition is true. Block can be either a single statement or a sequence of statements separated with the ":" character. Note for entering the example: In the Calculator application on the handheld, you can enter multi-line definitions by pressing @ · instead of at the end of each line. On the computer keyboard, hold down Alt and press Enter. Catalog > Catalog > "With" | See ("with"), page 106. TI-Nspire™ Reference Guide 89