4D v13.4Char |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Char
|
Char ( charCode ) -> Function result | ||||||||
Parameter | Type | Description | ||||||
charCode | Longint |
![]() |
Character code | |||||
Function result | String |
![]() |
Character represented by the charCode | |||||
The Char command returns the character whose code is charCode.
Tip: In editing a method, the command Char is commonly used to specify characters that cannot be entered from the keyboard or that would be interpreted as an editing command in the Method editor.
Important: In ASCII compatibility mode, all the text values, fields, or variables that you have not yet converted to another ASCII map are Mac OS-encoded on both Macintosh and Windows. For more information, see the section ASCII Codes.
The following example uses Char to insert a carriage return within the text of an alert message:
ALERT("Employees: "+String(Records in table([Employees]))+Char(Carriage return)+"Press OK to continue.")
Product: 4D
Theme: String
Number:
90
Modified: 4D v11 SQL
ASCII Codes
Character code
Character Reference Symbols
Unicode Codes
ASCII, Codes ASCII, Chaîne***