Action
Convert a string into its ASCII value.
Syntax
var = ASC(string)
Remarks
var Target variable that is
assigned.
String String variable or constant to retrieve the ASCII value from.
var : Byte, Integer, Word, Long.
string : String, Constant.
Note that only the first character
of the string will be used.
When the string is empty, a zero will be returned.
See also
CHR()
Example
Dim
a as byte, s as String
* 10
s = ABC
a = Asc(s)
Print a
End
|