Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

gentag(3)  —  Unix Programmer’s Manual

NAME

gentag - return a unique integer for use as a tag

SYNOPSIS

C
Tag gentag()

FORTRAN
integer 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. 

SEE ALSO

genobj, istag
 

NOTE

This command can only be used in immediate mode. 

Silicon Graphics  —  R1c

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