Click or drag to resize

AsString Function

Convert a value to a string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.10
Syntax
 FUNCTION AsString(
	uValue AS USUAL
) AS STRING
View Source

Parameters

uValue
Type: Usual
The value to be converted.

Return Value

Type: String
A string containing the converted value.  The converted string is dynamically allocated.
Remarks
Examples
These examples show how to use AsString():
X#
LOCAL cNum AS STRING
LOCAL cDate AS STRING
cNum := AsString(123456)
        // Convert an empty date
cDate := AsString(0.0.0)
See Also