Finishing and checking your program – Worth Data 5000 User Manual

Page 74

Advertising
background image

73

Finishing and checking your program

When you have finished entering your program, press the

key to have the TriCoder check your program for errors. If you have

referenced a statement number that doesn‟t exist or hasn‟t been defined properly, you will see the message:

INVALID STMT. #
HIT ANY KEY_

Pressing a key will take you to the prompt statement number where the TriCoder found the problem. Make the appropriate
corrections then press the

key again. If the TriCoder finds no other

problems

, you will see the Programming Mode Screen:

PROGRAMMING MODE

PROGRAM #1 ------------------------- 1
PROGRAM #2 ------------------------- 2
PROGRAM #3 ------------------------- 3
MULTI PROGRAM MODE ---

OFF

4

DONE/EXIT ----------------------------- 0


PLEASE SELECT OPTION: _

You can now create another program by pressing 1-3, or exit PROGRAMMING MODE entirely by pressing the

key to return to

the Main Menu.

If you don‟t press the

key when you are finished creating your program and the TriCoder shuts off (goes to sleep in the middle

of programming – maybe you were interrupted and left to do something else), when you turn the TriCoder back on, you may get the
following message:

PROGRAM X INCOMPLETE
HIT ANY KEY_

Press any key to get past this prompt – You will need to enter the Programming Mode from the Main Menu where you will be
prompted for the password:

ENTER PASSWORD: _


Enter the password (WDTRI), then choose the number of the program you were working on, or the program that is giving you an
error, when you see the PROGRAM MODE menu:

PROGRAMMING MODE

PROGRAM #1 ------------------------- 1
PROGRAM #2 ------------------------- 2
PROGRAM #3 ------------------------- 3
MULTI PROGRAM MODE ---

OFF

4

DONE/EXIT ----------------------------- 0


PLEASE SELECT OPTION: _

Press the number of the program you were working on. Press 2 to EDIT PROGRAM 2. Once inside the program, press the

key

to locate the problem. If the program doesn‟t resemble what you were working on before, it is possible you have had some kind of
memory problem. See Chapter 14; Troubleshooting for more information. Otherwise, fix the problem, and then press

to check

and exit.

Advertising