gentag(3G) — 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.
SEE ALSO
genobj, istag Programming Guide, Section 8.3, Object Editing
NOTE
This routine is available only in immediate mode.
Version 3.6 — December 20, 1987