PointReserve Function

Dynamically acquires the point numbers available in the current library.

Format
PointReserve

Parameters
None

Returns
Reserved point number

Description
By reserving a number, you can use it without it being used by other libraries.
The information defined for the reserved point 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 point number in PDel.

See Also
P#, PDel

PointReserve Function Usage Example

Integer i

i = PointReserve

P(i) = Here
Move P(i) +Z50 'Operation using the specified point number.
PDel 1