IsNil Function | |
Determine if a value is NIL.
Namespace:
XSharp.RT
Assembly:
XSharp.RT (in XSharp.RT.dll) Version: 2.21
Syntax FUNCTION IsNil(
uValue AS USUAL
) AS LOGIC
public static bool IsNil(
Usual uValue
)
Request Example
View SourceParameters
- uValue
- Type: Usual
The value to examine.
Return Value
Type:
Logic
TRUE if the value is NIL; otherwise, FALSE.
Remarks Examples
This example uses IsNil() to determine whether to query users for a file name:
1FUNCTION GetFile(cFile)
2 IF IsNil(cFile)
3 ? "Input missing file name"
4 ENDIF
See Also