Nota Bene: The TI 83/84 uses any nonzero number to represent true (most often it is 1) and zero to represent false.
Test Conditions are used to compare different values and form the basis ofConditional Functions.
=,TEST:TEST:1 returns true if two input values are equal and false if not equal.
:Value 1 =Value 2
prgmTEMPTrue
≠,TEST:TEST:2 returns true if two input values are not equal and false if they are equal.
See Equal
>,TEST:TEST:3 returns true if first input value is larger than second input value and false if it is less than or equal.
See Equal
≥,TEST:TEST:4 returns true if the first input value is larger than or equal to the second value and false if it is greater than.
See Equal
<,TEST:TEST:5 returns true if the first input value is smaller than the second and returns false if it is greater than or equal to.
See Equal
≤,TEST:TEST:6 returns true if the first input value is smaller than or equal to the second input value and returns false if it is greater than.
See Equal
Logical Operators help combine multiple boolean valued statements into one.
In order for an "and" conditional function evaluate to true, both parts of the statement have to be true or else it returns false.
and,TEST:LOGIC:1
:Boolean 1 andBoolean 2
prgmTEMPTRUE
In order for an "or" conditional function to evaluate to true, at least one of the parts of the statement have to be true or else it returns false.
or,TEST:LOGIC:2
See And
In order for an "xor" conditional function to evaluate to true, exactly one of the values has to be true. If both of the values are true or false it evaluates to false.
xor,TEST:LOGIC:3
See And
The "not" operator is a little different from the others, it only takes one value and it evaluates to the opposite.
not(,TEST:LOGIC:4
:not(valueA)
prgmTEMPX EQUALS ZERO
Previous:Conditional Functions
Next:Loops
Table of Contents:TI-Basic 84 Programming