gentag() — Silicon Graphics
NAME
gentag − returns a unique integer for use as a tag
SPECIFICATION
C
Tag gentag()
FORTRAN
integer*4 function gentag()
Pascal
function gentag: Tag;
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.
gentag is not required to name an object.
SEE ALSO
genobj, istag IRIS Graphics Programming, Section 8.3, Object Editing
NOTE
This routine is available only in immediate mode.
Version 2.5 — April 22, 1987