CHR$ returns a string which contains the character[s] corresponding to the Extended ASCII code integer argument[s] each of which must have a value between 0 and 255.
Up to 26 comma separated Extended ASCII code integers can form the function argument list. Use VCHR$ if more arguments are needed in one function call or else use multiple CHR$ statements.
Syntax:RetStr = CHR$(ASCode1, [ASCode2, ... ASCode26]) Return Value:
Parameters: |
DIM str1$ str1$ = CHR$(66) PRINT str1$; str1$ = CHR$(67) PRINT str1$; str1$ = CHR$(88) PRINT str1$
BCX
DIM str1$ str1$ = CHR$(66,67,88) PRINT str1$
BCX
BCX's implementation allows up to twenty six integer optional arguments. CHR$ is a function complementary to ASC, which returns the ASCII integer value when given a character argument.