Chr()

 

CHR()

Converts an ASCII value to it character value

Syntax

      CHR( <nAsciiNum> )  --> cReturn

Arguments

<nAsciiNum> Any ASCII character code.

Returns

<cReturn> Character expression of that ASCII value

Description

This function returns the ASCII character code for <nAsciiNum>. The number expressed must be an integer value within the range of 0 to 255 inclusive. The CHR() function will send the character returned to whatever device is presently set.

The CHR() function may be used for printing special codes as well as normal and graphics character codes.

Examples

      ? CHR( 32 )
      ? chr( 215 )

Compliance

Clipper

Platforms

All

Files

Library is rtl

Seealso

ASC(), INKEY()

Advertisements

3 responses to “Chr()

  1. Pingback: Harbour All Functions – C | Viva Clipper !

  2. Pingback: Harbour String Functions | Viva Clipper !

  3. Pingback: Harbour RG Summary | Viva Clipper !

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s