ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / String functions
  • Avoid using Charact
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the character corresponding to the specified ASCII code. The ASCII code used corresponds to the ANSI standard used in Windows.
ASCIIChar = Charact(49)    // Returns "1"
ASCIIChar = Charact(87)    // Returns "W"
Syntax
<Result> = Charact(<ASCII code to convert>)
<Result>: Character string
Character corresponding to the specified ASCII code.
<ASCII code to convert>: Integer
Value to convert (between 0 and 255). A WLanguage error occurs if the value is invalid.
Remarks

Avoid using Charact

The following preset constants avoid the use of Charact:
ConstantValueFunction
CRCharact(13) + Charact(10)Carriage Return
TABCharact(9)Tabulation
ESCCharact(27)Esc key
SPCCharact(160)Non-breaking space
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/23/2024

Send a report | Local help