Click or drag to resize

AsString Function

X#
Convert a value to a string.

Namespace:  XSharp.RT
Assembly:  XSharp.RT (in XSharp.RT.dll) Version: 2.19
Syntax
 FUNCTION AsString(
	uValue AS USUAL
) AS STRING
Request Example 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#
1LOCAL cNum AS STRING
2LOCAL cDate AS STRING
3cNum := AsString(123456)
4    // Convert an empty date
5cDate := AsString(0.0.0)
See Also