Next: write-handle, Previous: write, Up: GCL Reference
(write-comments FILENAME GEOMID PICKPATH)
pick
command) is a list of
integer counters specifying a subpart of a hierarchical OOGL
object. Descent into a complex object (LIST or INST) adds a new integer
to the path. Traversal of simple objects increments the counter at the
current level. Individual COMMENTS are enclosed by curly braces, and
the entire string of zero, one, or more COMMENTS (written in the order
in which they are encountered during hierarchy traversal) is enclosed by
parentheses.
Note that arbitrary data can only be passed through the OOGL libraries as full-fledged OOGL COMMENT objects, which can be attached to other OOGL objects via the LIST type as described above. Ordinary comments in OOGL files (i.e. everything after '#' on a line) are ignored at when the file is loaded and cannot be returned.