UNUM(5)

Table of Contents

Name

unum returns a unique number converted to a string

Synopsis

STRING unum();

Description

This component of the run-time library is a function that returns a different number, converted to a string, each time it is called.

unum provides a convenient way to generate unique symbols for product files. The numbers returned begin at zero and are incremented by one by each call. The returned strings are stored in the internal buffer of itoa (see ITOA(5) ); strsave should be used if a long term copy of the number is needed (see STRSAVE(5) ).

See Also

ITOA(5)
STRSAVE(5)


© 1990 Lucent Technologies, Inc
© 1998 Harmony Software, Inc