Adxuid
adxuid
returns a unique identifier for a connection.
adxuid(NUM_EXPR)
NUM_EXPR
is a numeric expression that can have either a 1 or 2 value. # Creation of a unique temporary file for the user[L]THE_FILE = filpath("tmp",num$(adxuid(2)),0)Openo [L]THE_FILE
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.
Error code | Description |
---|---|
10 | The argument is not numeric. |
50 | The argument is out of the range (1-2). |