Skip to content

UCharToString

See Also: UChar, String Functions, UCharArrayToString

Purpose

Returns a DataFlex string which is a copy of the passed UChar value.

Return Type

String

Syntax

UCharToString({UCharValue})

Where:

  • {UCharValue} is a UChar value.

What it Does

UCharToString returns a DataFlex string which is a copy of the passed UChar value.

Examples

This sample copies the UChar value ucByte to the DataFlex string sValue, resulting in sValue containing the value "g".

Procedure Test
    UChar ucByte
    String sValue
    Move (Ascii("g")) to ucByte
    Move (UCharToString(ucByte)) to sValue
End_Procedure