Chr: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
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''' ..."
 
Brendon (talk | contribs)
No edit summary
Line 3: Line 3:
'''Description'''
'''Description'''


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


'''Example'''
'''Example'''

Revision as of 04:02, 29 June 2012

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