Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Chr - function of language VBScript

Description:
Returns the character associated with the specified ANSI character code.

For the purposes of PROMOTIC system, it is more usefull to use the method: Pm.StringCodeFrom.

Syntax:
Chr(charcode As Integer) As String
Calling:
s = Chr(charcode)
Parameters:
charcode(Integer) number that identifies a character
Note:
Numbers from 0 to 31 are the same as standard, nonprintable ASCII codes. Some of these codes are also accessible directly by means of VBScript string constants.
Example:
VBScriptSelect and copy to clipboard

Dim s
s = Chr(65)  'Returns A
s = Chr(97)  'Returns a
s = Chr(62)  'Returns >
s = Chr(34)  'Returns "
PROMOTIC 9.0.0 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice