POV-Ray : Documentation : 2.8.3.6 Arrays
  POV-Ray 3.6 Documentation Online View  
2.8.3.5 Strings   2.8.3.7 Splines

2.8.3.6 Arrays

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

2.8.3.5 Strings   2.8.3.7 Splines


Copyright 2003-2004 Persistence of Vision Raytracer Pty. Ltd.