CHR()

From Lianjapedia
Revision as of 11:40, 7 December 2012 by Helen.george (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

Function to convert a number to an ASCII character

Syntax

CHR(<expN>)

See Also

ASC(), CTRL(), HTOA(), STR()

Description

The CHR() function returns the ASCII character denoted by the numeric value <expN>. CHR(0) should not be used to convert a field that is part of an index expression, as this will damage the index when the record containing that field is read.

Example

? chr(66)
B
? chr(7)
bell = chr(7)
? type("bell")
C