Difference between revisions of "CHR()"

From Recital Documentation Wiki
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
==Class==
 
Expressions and Type Conversion
 
 
 
 
==Purpose==
 
==Purpose==
 
Function to convert a number to an ASCII character
 
Function to convert a number to an ASCII character
Line 31: Line 27:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital Server, Recital  
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 16:18, 27 November 2009

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


Products

Recital Server, Recital