PDel Statement
Deletes specified position data.
Syntax
PDel firstPointNum [, lastPointNum ]
Parameters
- firstPointNum
- Specify the starting number of the point data range to be deleted, either as an integer numeric value or an expression.
- lastPointNum
- Specify the ending number of the point data range to be deleted, either as an integer numeric value or an expression.
Description
Deletes specified position data from the controller's point memory for the current robot. Deletes all position data from firstPointNum up to and including lastPointNum. To prevent Error 2 from occurring, firstPointNum must be less than lastPointNum.
PDel Statement Example
> p1=10,300,-10,0/L
> p2=0,300,-40,0
> p10=-50,350,0,0
> pdel 1,2 'Delete points 1 and 2
> plist
P10 = -50.000, 350.000, 0.000, 0.000 /R /0
> pdel 50 'Delete point 50
> pdel 100,200 'Delete from point 100 to point 200
>