Chr: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
Brendon (talk | contribs)
No edit summary
Line 29: Line 29:


[[Category:Language Reference]]
[[Category:Language Reference]]
[[Category:Strings]]

Revision as of 18:45, 11 September 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