Denso RC5 Specifications Page 231

  • Download
  • Add to my manuals
  • Print
  • Page
    / 692
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 230
Chapter 9 Declaration Statements
9-17
9.8 Array
DIM (Statement) [Conforms to SLIM]
Function
Declares an array.
Format
DIM <Variable name>[<Postposition>] [(<Number of elements>[,<Number of
elements>[,<Number of elements>]])][AS<Variable type>][,<Variable
name>[<Postposition>]...]
Explanation
This statement declares a variable designated by <Variable name> as an array
variable.
By adding <Postposition>, the system can declare the variable type together.
The following postpositions are available.
Integer type postposition: %
Single precision real type postposition: !
Double precision real type postposition: #
Character string type postposition: $
If the postposition is omitted, the system regards the statement as a statement
of a single precision real number type.
Specify the maximum number of elements to be arrayed in <Number of
elements>. The maximum number must be 1 or larger.
The total number of elements must not exceed 32767.
Up to three dimensions are usable for DIM statements.
The subscript can be specified in the range from 0 to (number of elements – 1).
You can declare the variable type by specifying AS <Variable type>.
Note that the AS expression and the postposition cannot be specified at the
same time.
The table below shows the <Variable types> usable in AS expression.
Variable type Identifier Variable type Identifier
Long integer type INTEGER Vector type VECTOR
Single precision
real type
SINGLE Position type POSITION
Double precision
real type
DOUBLE Joint type JOINT
Character string
type
STRING Homogeneous
transformation
type
TRANS
Page view 230
1 2 ... 226 227 228 229 230 231 232 233 234 235 236 ... 691 692

Comments to this Manuals

No comments