IsLong Function | |
Determine if a value is a LONGINT.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax FUNCTION IsLong(
uValue AS USUAL
) AS LOGIC
public static bool IsLong(
Usual uValue
)
Request Example
View SourceParameters
- uValue
- Type: Usual
The value to examine.
Return Value
Type:
Logic
TRUE if the value is the LONGINT data type; otherwise, FALSE.
Remarks Examples
This example uses IsLong() to determine the appropriate conversion function:
1IF IsLong(uValue)
2 cTransmit := L2Bin(uValue)
3ELSEIF IsFloat(uValue)
4 cTransmit := F2Bin(uValue)
5ENDIF
See Also