|
|
-
Define an array:
-
ARRAY_DECLARATION:
-
#declare ARRAY_IDENTIFIER = array DIMENSION... [ARRAY_INITIALIZER] | #local
ARRAY_IDENTIFIER = array DIMENSION... [ARRAY_INITIALIZER]
-
Limited to five dimensions.
-
DIMENSION:
-
[ INT ]
-
The brackets here are part of the dimension specification. The integer must be greater than
zero.
-
ARRAY_INITIALIZER:
-
{ ARRAY_INITIALIZER [, ARRAY_INITIALIZER]... } | {
RVALUE [, RVALUE]... }
-
Place a value into an array:
-
ARRAY_ELEMENT_ASSIGNMENT:
-
#declare ARRAY_REFERENCE =RVALUE
[;] | #local ARRAY_REFERENCE = RVALUE [;]
-
The semicolon is required for a FLOAT, VECTOR or COLOR assignment.
-
Reference an array:
-
ARRAY_REFERENCE:
-
ARRAY_IDENTIFIER ELEMENT...
-
ELEMENT:
-
[ INT ]
-
The brackets here are part of the element specification.
Quick Reference Contents
|
|