PDef Method

Description
Returns the definition status of a specified point.

Syntax
Function PDef (PointNumber As Integer) As Boolean

Parameters

  • PointNumber
    An integer expression indicating the point number of a point in the current robot’s point memory.

Return Value
True if the specified point is defined, False if not.

See Also
PDel Method

PDef Example
VB Example:

Dim p1Defined As Boolean  
p1Defined = m_spel.PDef(1)  

C# Example:

bool p1Defined;  
p1Defined = m_spel.PDef(1);