LocalReserve Function

Dynamically acquires the local numbers available in the current library.

Format
LocalReserve

Parameters
None

Returns
Reserved local number

Description
By reserving a number, you can use it without it being used by other libraries. Unreserved local numbers from 16 to 31 are reserved in descending order.
The information defined for the reserved local number is temporary values that are cleared along with the reservation when all tasks are completed. Alternatively, you can clear the reservation by specifying the local number in LocalClr.
The point defined for the reserved local number is stored as local number 0.

See Also
Local, LocalClr, LocalDef, P#, Arc, Go, Move, Jump

LocalReserve Function Usage Example

Integer i

i = LocalReserve

Local i, X, Y, Z, U
P1 = Here /(i)
Move P1 'Operation using the specified local number.