Adxuid

adxuid returns a unique identifier for a connection.

Syntax

 adxuid(NUM_EXPR)

Examples

 # Creation of a unique temporary file for the user[L]THE_FILE = filpath("tmp",num$(adxuid(2)),0)Openo [L]THE_FILE

Description

adxuid is a function that returns a unique identifier :

The type of result is Integer.

adxuid(2) is used internally by the Lock instruction on symbols stored in the lock table which name is given by [S]adxtlk.

Associated errors

Error codeDescription
10The argument is not numeric.
50The argument is out of the range (1-2).

See also

adxtlk, adxpid.