CHR$/WCHR$

Top  Previous  Next

Syntax

STRING = CHR$ (num as INT)

WSTRING = WCHR$(num as WORD)

Description

Converts an ASCII value into a character string.

Parameters

num - The ASCII value to convert to a character.

Return value

A string or Unicode string containing the single character.

Remarks

See Also: ASC

Example usage

PRINT CHR$(65)
PRINT W2S(WCHR$(65))