Original Author Paul Laughton, 2011
Page 166
De Re BASIC!
LIST.ADD gList, c2
% add another circle to the group's list
GR.MOVE g, 0, 50
GR.RENDER : PAUSE 1000
% two circles move
LIST.ADD gList, c2
% add another circle to the group's list
GR.MOVE g, 0, 50
% three circles move
GR.RENDER : PAUSE 1000
GR.CLOSE : END
Gr.group <object_number_nvar>{, <obj_nexp>}...
Creates a group of graphical objects. All of the numeric expressions <obj_nexp> must evaluate to valid
graphical object numbers. The object numbers are put in a list and attached to the group.
The <object_number_nvar> returns the Object List object number for the group.
The Gr.modify parameter is "list".
Gr.group.list <object_number_nvar>, <list_ptr_nexp>
Creates a group from a list of graphical objects. The List is assumed to contain valid graphical object
numbers, but it is not checked. The list is simply attached to the group.
The list pointer parameter <list_ptr_nexp> is optional. If you provide an expression that evaluates to a
valid List pointer, the List that the pointer addresses supplies the graphical objects that are put in the
group. Otherwise, the group is empty. If you provide a numeric variable that does not already point to a
list, the variable is set to point to the group's empty list.
The <object_number_nvar> returns the Object List object number for the group.
The Gr.modify parameter is "list".
Gr.group.getDL <object_number_nvar>
Creates a group from the current Display List. The Display List is copied to a new list that is attached to
the group.
The <object_number_nvar> returns the Object List object number for the group.
The Gr.modify parameter is "list".
Gr.group.newDL <object_number_nvar>
Replaces the existing Display List with a new list read from the specified group.
The <object_number_nvar> returns the Object List object number for the group.
The Gr.modify parameter is "list".