IsPtr Function | |
Determine if a value is a pointer.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION IsPtr(
uValue AS USUAL
) AS LOGIC
public static bool IsPtr(
Usual uValue
)
Request Example
View SourceParameters
- uValue
- Type: Usual
The value to examine.
Return Value
Type:
Logic
TRUE if the value is a pointer; otherwise, FALSE.
Remarks Examples
This example uses IsPtr() to check whether a conversion to a pointer is needed:
1IF !IsPtr(uValue)
2 uValue := Ptr(_CAST, uValue)
3ENDIF
See Also