Phonetics 5000 Manuale Utente

Pagina di 143
84
Sensaphone
®
 ISACC Instruction Manual
STAND ALONE COMMANDS
Stand alone commands are one word commands that are typed at an ISACC prompt.  They are
instructions for the physical execution of a C program.  They allow you translate the C pro-
gram into ISACC’s language, run the program once to test, start and stop the continuous
execution of the program within ISACC.  The four commands are COMPILE, RUN, START
and STOP.
COMPILE
This command must be typed in before the program is executed.  All programs that are writ-
ten must be translated into a language that ISACC will understand and this is done with the
COMPILE command.
When you type the command COMPILE, ISACC scans your program, looks for errors and
makes another copy in its memory in a coded format.  The coded format is another language
so ISACC will run more efficiently.  When you type COMPILE, the following will appear:
ISACC>compile
Starting prescan
Found main
Finished scanning
Prescan completed
0 global variables found
ISACC>
The new program is checked for syntax errors.  If a problem is found, an error code will be
displayed.  The type of error code depends on where the code is found and what kind it is.
Multiple errors must be corrected one at a time before ISACC will continue to scan the
program.  Please refer to the ERROR HANDLING section in this chapter.
IMPORTANT:  Any time the program is changed or corrected, it must be recompiled.  If it
is not, ISACC will continue using the old version of the program.  When the program is
recompiled, all variables are reset to zero.
RUN
After the program has been compiled, you may enter RUN at a prompt.  The RUN command
allows you to see your new program executed once.  It is wise to check the new program
before continuing.  When you type RUN, ISACC will display a “Run time” which is the
amount of time it takes to execute.  This is required when starting the program, so it is wise to
make a note of it. It will also display any Run time errors it finds.
ISACC>run
Run time 0.140 seconds
START & STOP
After the program has been compiled and run once, you may start your program by entering
START.  Your screen will display the following:
ISACC>start
Reload time (seconds) = 2 >