Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ genobj(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

genobj()  —  Silicon Graphics

NAME

genobj − returns a unique integer for use as an object identifier

SPECIFICATION

C
Object genobj()

FORTRAN
integer*4 function genobj()

Pascal
function genobj: Object;

DESCRIPTION

Object identifiers can be up to 31 bits and must be unique within a program.  genobj generates unique 31-bit integer numbers.  Be cautious if you use a combination of user-defined and genobj-defined numbers to generate object numbers.  genobj will not generate a current object number. 

genobj is not required to name an object. 

SEE ALSO

callobj, gentag, isobj, makeobj IRIS Graphics Programming, Section 8.1, Defining an Object

NOTE

This routine is available only in immediate mode. 

Version 2.5r1  —  October 29, 1986

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