callobj(3G) — Silicon Graphics
NAME
callobj − draws an instance of an object
SPECIFICATION
C
callobj(obj)
Object obj;
FORTRAN
subroutine callob(obj)
integer*4 obj
Pascal
procedure callobj(obj: Object);
DESCRIPTION
callobj draws an instance of a previously defined object. obj is the object identifier. If callobj specifies an undefined object, the system ignores the routine.
Global state attributes are not saved before a call to callobj. For example, if you change a variable within an object, such as color, the change can affect the caller as well. Use pushattributes and popattributes to preserve global state attributes across callobj calls.
SEE ALSO
makeobj, popattributes, pushattributes Programming Guide, Section 8.2, Using Objects
Version 3.6 — December 20, 1987