Parse:
PROC [
context: Context,
operation: ROPE,
cmdOut: STREAM ← NIL,
log: LogProc ← NIL,
showErrors: BOOL ← TRUE,
fileName: ROPE ← NIL,
viewerSelection: ViewerSelection ← [NIL, NIL]]
RETURNS [shouldRepaint: BOOL];
Perform the specified operation on the context.
operation consists of an arbitrary number of operations:
each operation is a keyword followed by arguments, if required.
fileName is the file, if any, from which the operation was read;
if it is non-NIL and showErrors is TRUE, it is used to indicate the location of errors.
viewerSelection is the viewer and selection, if any, from which the operation was selected;
if they are non-NIL and showErrors is TRUE, it is used to indicate the location of errors.
See the graphics 3d documentation for a list of operations.
If log is non-NIL, a message is sent for each operation parsed.