Chr

From NSB App Studio
Revision as of 04:02, 29 June 2012 by Brendon (talk | contribs) (Created page with "CHR(''number'') '''Description''' CHR returns the equivalent character of an ANSI character code. The required expression, number, is any numeric expression. '''Example''' ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

CHR(number)

Description

CHR returns the equivalent character of an ANSI character code. The required expression, number, is any numeric expression.

Example

REM CHR Example
'CHR returns characters from numbers
DIM Lowercase, Uppercase
Lowercase = CHR(97)
Uppercase = CHR(97 - 32)
PRINT "Lowercase = " & Lowercase
PRINT "Uppercase = " & Uppercase

Output

Lowercase = a
Uppercase = A

Related Items ASC