8-16
Yes/Next Statement
The YES/NEXT STMT field allows you to tell the TriCoder
which statement to go to next or, in the case of a Question
statement, where to go if the question is answered by the YES key.
YES/NEXT STMT
01
02_
Make sure the statement number you specify is a valid statement. If your
program is a simple one statement program (assuming it is statement #01),
you would specify statement #01 as the YES/NEXT STMT.
When editing a program, you cannot delete or remove statements, but you
can simply not go to them. For example, lets say statement #01 is the item
number, statement #02 is the bin number and statement #03 is the quantity.
Maybe you decide you don’t need to prompt for the bin number anymore
and want to remove the statement. Change the YES/NEXT STMT field for
statement #01 to go to statement #03. See the coding form example below
to see how this would work.
Stmt #
Prompt Text
Yes/Next Stmt
01
ITEM NUMBER
03
02
BIN NUMBER
03
03
QUANTITY
01
No/End Statement
The NO/END STMT field determines where the program
goes if the END key is pressed, or in the case of a question
statement, where the program goes if the NO key is pressed.
NO/END STMT
01
99_
For a question statement, this field simply tells the TriCoder where to go
next when the question is answered with NO. In the instance of the END
key, what can happen next can vary.
Pressing the
END
key can have a different effect; depending on what
statement you go to next:
•
Go to any valid statement by specifying that statement number in
the NO/END STMT field. Besides simply going to another
statement, this allows you to use the
END
key to break out of
complex data collection loops. For example, say you have a
program that prompts for (1)BLDG., then (2)AISLE, then
(3)ITEM, then (4)QUANTITY, with a loop that goes back to
ITEM after QUANTITY. To break out of the loop at ITEM and go
back to BLDG, use 01 in the NO/END STMT for ITEM. To
break out of the loop at QUANTITY and go to AISLE, use 02 in
Program
Prompt
11
Program
Prompt
12