Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ callobj(3g) — GL2 W2.5

Media Vault

Software Library

Restoration Projects

Artifacts Sought

callobj()  —  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 variables are not saved before a callobj.  For example, if a variable such as color is changed within an object, the change can affect the caller as well.  Use pushattributes and popattributes to preserve global variables across callobj routines. 

SEE ALSO

makeobj, pushattributes, popattributes IRIS Graphics Programming, Section 8.2, Using Objects

Version 2.5  —  April 22, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026