gentag(3G) gentag(3G)
NAME
gentag - returns a unique integer for use as a tag
SPECIFICATION
C Tag gentag()
FORTRAN integer*4 function gentag()
DESCRIPTION
gentag generates a unique integer to use as a tag. Tags
must be unique within an object.
gentag provides a unique 31-bit integer tag which acts as a
label. gentag generates unique tags, although if you later
define a tag with the same value, the first tag is lost.
SEE ALSO
genobj, istag
Programming Guide, Section 8.3, Object Editing
NOTE
This routine is available only in immediate mode.
Page 1 (printed 8/20/87)