Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Asc - function of language VBScript

Description:
Returns the ANSI character code corresponding to the first letter in a string.

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

Syntax:
Asc(string As String) As Integer
Calling:
n = Asc(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 8.3.27 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