DMC-1400 Series Command Reference [ ] 9
[ ]
FUNCTION: Square Brackets (Array Index Operator)
DESCRIPTION:
The square brackets are used to denote the array index for an array, or to denote an array
name.
ARGUMENTS: mmmmmmmm[n] where
mmmmmmmm is the array name
n is the array index and is an integer between 0 and 7999
USAGE: DEFAULTS:
While Moving Yes Default Value -
In a Program Yes Default Format -
Command Line Yes
Controller Usage ALL
RELATED COMMANDS:
DM Dimension Array
QU Print/Upload Array
EXAMPLES:
DM A[100] ;’define a 100 element array
A[0] = 3 ;’set first element to 3
MG A[0] ;’print element 0
QU A[] ;’print entire array