Progress
Report Builder
User’s Guide


CHR

Converts an internal character set integer value to its corresponding character value.

SYNTAX

CHR ( expression ) 

expression

An expression (constant, field name or expression with a value of an integer) that you want to convert to a character value.

If the value of expression is from 1 to 255, CHR returns a single character. This character might not be printable or might not display on certain terminals. If the value of expression is outside that range, CHR returns a null string.

You can use CHR to print or display a character for which there is no keyboard representation (for example, the bullet character). This function is the opposite of ASC.

EXAMPLE

To return the trademark symbol (‰) when the Symbol font is applied to the field, use:

CHR(212) 


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095