Chr()
Syntax
Text$ = Chr(CharacterValue)Description
Returns a string created with the given character value.
Parameters
CharacterValue The unicode character value. It must be a value between 0 and $D7FF or between $E000 and $FFFF. The range between $D800 and $DFFF is reserved for surrogate characters.
Return value
Returns a string created with the given character value. If the value is invalid, it will returns an empty string.
Example
Debug Chr(33) ; Will display "!"
Remarks
A table with all Ascii values and their relating figures may be found here.
This command works in Unicode and then returns the related characters associated to the given value.Debug Chr(8364) ; will display "€" Debug Chr($BC) ; will display "¼" Debug Chr($BD) ; will display "½"
Example: Special symbols (icons) and a loop with output of latin letters
Debug Chr($2630) ; ☰ Debug Chr($25BC) ; ▼ For i = 65 To 90 Debug Chr(i) Next
See Also
Asc()
Supported OS
All