PROMPT field for a branch statement:
The final field for a branch statement is the STMT TO BRANCH field.
This field tells the program what statements to go to when particular
characters are entered. At this point you can enter up to 15 groups of 3 digit
codes for a total of 45 characters.
•
The first character in each 3 digit code is the conditional character;
this is the character that determines the branch when entered. The *
character is used to mean any character other than the conditional
characters already specified.
•
The next 2 characters in the 3 digit code determine which
statement to go to when the conditional character is entered.
For example, lets say you wanted the following branches to happen:
Go to statement 18 if an R is keyed/scanned
Go to statement 34 if a 5 is keyed/scanned
Go to statement 02 if anything else is keyed/scanned
The STMT TO BRANCH field would look like this:
Question
A question statement creates a program prompt that the user answers YES
or NO to. Data is not stored to memory for this type of statement; a YES
answer directs the program to one statement number while a NO answer
directs the program to another statement number. The question statement is
answered by pressing the YES or NO key on the TriCoder keypad.
When creating a question statement, the programmer will only see 5
program statement fields; ENTRY TYPE, PROMPT, VOICE MESSAGES,
YES/NEXT STMT and NO/END STMT. The ENTRY TYPE prompt for a
question statement looks like this:
The PROMPT field determines what the user sees on the display screen for
this field. Here is an example of a PROMPT field for a question statement:
The MESSAGE NUMBER field defines the voice messages you want to
PROMPT
TRANSACTION?_
STMT TO BRANCH
R18534*02_
ENTRY TYPE 01
Q_
PROMPT
DAMAGED GOODS?_
8-5
01
01
01
Need help?
Do you have a question about the TriCoder t53 and is the answer not in the manual?
Questions and answers