Promotic

Asc - function of language VBScript

Description:
Returns the ANSI character code corresponding to the first letter in the string.
In the PROMOTIC system it is better to use the Pm.StringCodeAt method.
Syntax:
Integer Asc(String string)
Parameters:
string(String) Text string. If the string contains no characters, then a runtime error occurs.
Example:
VBScriptSelect and copy to clipboard

Dim n
n = Asc("A")   ' Returns 65
n = Asc("a")   ' Returns 97
n = Asc("Apple")   ' Returns 65
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

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