gentag(3G) gentag(3G)
NAME
gentag - returns a unique integer for use as a tag
C SPECIFICATION
Tag gentag()
PARAMETERS
none
FUNCTION RETURN VALUE
The returned value for this function is a tag number.
DESCRIPTION
gentag generates a unique integer to use as a tag. Tags must be unique
within an object. Although gentag generates unique tags, if you later
define a tag with the same value, the first tag is lost.
SEE ALSO
genobj, istag
NOTE
This routine is available only in immediate mode.
Page 1