EasyManuals Logo

Trio Motion Coordinator MC216 User Manual

Trio Motion Coordinator MC216
566 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #255 background imageLoading...
Page #255 background image
Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-65
Program Loops and Structures
Program Loops and Structures
BASICERROR
Type:
Program Structure
Description:
This command may only be used as part of an
ON... GOSUB
or
ON... GOTO
com-
mand. When used in this context it defines a routine to be run when an error occurs
in a Trio BASIC command.
Example:
ON BASICERROR GOTO error_routine
....(rest of program)
error_routine:
PRINT "The error ";RUN_ERROR[0];
PRINT " occurred in line ";ERROR_LINE[0]
STOP
ELSE
Type:
Program Structure
Description:
This command is used as part of a multi-line
IF
statement.
See Also
IF, THEN, ENDIF
ELSEIF
Type:
Program Structure
Syntax:
IF <condition1> THEN
commands
ELSEIF <condition2> THEN
commands
ELSE
commands
ENDIF

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Trio Motion Coordinator MC216 and is the answer not in the manual?

Trio Motion Coordinator MC216 Specifications

General IconGeneral
BrandTrio
ModelMotion Coordinator MC216
CategoryController
LanguageEnglish

Related product manuals