Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ gentag(3g) — GL2 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gentag()  —  Silicon Graphics Beta Release

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 be used as a tag.  Tags must be unique within the enclosing object.  The gentag command provides a unique 31-bit integer for use when the tag has no significance beyond labeling a command.  Note that the generated tag is unique when gentag is executed.  If the user later defines a tag with the same value, the first command tag is lost. 

Use of gentag is not required to name an object. 

SEE ALSO

genobj, istag

NOTE

This command can be used only in immediate mode. 

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026