RESPONSE KODAK CORRECT ; Correct answer, go to LABEL CORRECT
RESPONSE ILLEGAL INCORRECT; Incorrect answer, go to LABEL INCORRECT
RESPONSE TIMEOUT WARN; Timeout exceeded, go to LABEL WARN
LABEL CORRECT; Subroutine CORRECT
SHOW CONF; Show block of text with confirmation
WAIT 4; Allow time to read
JUMP START; Return to main loop
LABEL INCORRECT; Subroutine INCORRECT
SHOW ERROR; Show error message
KODAK S-RA2500 Editing System 1.0 User Manual Page: 54
WAIT 4; Allow time to read
JUMP START; Return to main loop
LABEL WARN; Subroutine WARN
SHOW REMINDER; Reminder to hurry
WAIT 2; Pause for reading
JUMP START; Return to main loop
The example diskette does not contain the blocks of text for this example - it is assumed that
you will write them to suit your own ideas. The program is intended to perform the following functi
s :
The response time is set to 20 seconds. A block of text containing a question is then shown on
the screen. The word „KODAK“ is the correct answer to the question. In the block of text, the chara
ter string @@@@@ is used to mark a field for the answer entered by the user (there are 5 letter
in KOD
) .
The three RESPONSE instructions take all possible answers into account, nam
y :
Correct input results in the subroutine CORRECT in which a suitable block of text confirms
the user’s ans
r .
Incorrect input (keyword: ILLEGAL) enables the subroutine INCORRECT which has an appropr
ate block of t
xt.
Absence of user input before the timeout has elapsed (keyword: TIMEOUT) invokes the
appropriate subroutine which outputs a reminder to hurry.
All subroutines return to the main loop in which the asking of the question is repeated.
KODAK S-RA2500 Editing System 1.0 User Manual Page: 55
You are now capable of using the outline programs shown earlier as a starting basis for your
own experiments in which you will almost certainly develop more sensible questions than the ques
ion demonstrated in our example. The system has many further capabilities which are not exhau
ted by this intentionally brief introduct