EasyManuals Logo

Trio Motion Coordinator MC206 User Manual

Default Icon
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 #180 background imageLoading...
Page #180 background image
7-8 Programming
Identifiers
Trio Motion Technology
Identifiers
Identifiers are the names which the programmer uses to identify (!) things in
the program. There are essentially two main types of user-defined identifier,
Labels and Variables.
Labels
Labels are used to provide a place-marker in a program. Not only does this
make the code more readable, it also enables us to direct the flow of our
program to a specific place.
In Trio BASIC, labels are defined by placing a name at the start of the line,
followed by a colon (:).
e.g.
start:
enter_password:
error_handler:
Variables
Variables are storage locations for numeric values. they are called variables as
they can be changed at any time. Just like labels, variables can often be given
a user-defined name. Anywhere a number is required a variable can be used.
Example:
batch_size=10
would assign a value of 10 to a variable called “batch_size”. Then anywhere in
the program that needs to know the value stored to make can read this value
by name.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Trio Motion Coordinator MC206 Specifications

General IconGeneral
BrandTrio
ModelMotion Coordinator MC206
CategoryController
LanguageEnglish

Related product manuals