genobj(3G) genobj(3G)
NAME
genobj - returns a unique integer for use as an object
identifier
SPECIFICATION
C Object genobj()
FORTRAN integer*4 function genobj()
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 an object name that is
currently in use. If there is any question, use isobj
before using your own numbers.
SEE ALSO
callobj, gentag, isobj, makeobj
Programming Guide, Section 8.1, Defining an Object
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)