Promotic

Chr - function of language VBScript

Description:
Returns the character associated with the specified ANSI character code.
In the PROMOTIC system it is better to use the Pm.StringCodeFrom method.
Syntax:
String Chr(Integer 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.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.