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