Specifications
Language Syntax Summary
This section documents the VT1419A’s Algorithm Language elements.
Identifier
First character is A-Z, a-z or “_”, optionally followed by characters; A-Z,
a-z, 0-9 or “_”. Only the first 31 characters are significant. For example; a,
abc, a1, a12, a_12, now_is_the_time, gain1
Decimal Constant
First character is 0-9 or “.”(decimal point). Remaining characters if present
are 0-9, a “.”(one only), a single “E”or"e", optional “+” or “-”, 0-9. For
example; 0.32, 2, 123, 123.456, 1.23456e-2, 12.34E3
NOTE Decimal constants without a decimal point character are treated by the translator as
32-bit integer values. See Data Types on page 125.
Hexadecimal Constant
First characters are 0x or 0X. Remaining characters are 0-9 and A-F or a-f.
No “.” allowed.
Octal Constant
First character is 0. Remaining characters are 0-7. If “.”, “e” or “E” is
found, the number is assumed to be a Decimal Constant as above.
Primary-Expression
constant
(expression)
scalar-identifier
scalar-identifier.bitnumber
array-identifier[expression]
abs(expression)
max(expression,expression)
min(expression,expression)
The Algorithm Language and Environment
Language Syntax Summary
Chapter 4 129
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com










