9.0
107
Group
String
Description
Return the ASCII value.
Note: A similar function, AscB, returns the first byte in S$
. Another similar function, AscW, returns the Unicode
number.
Parameter Description
S$ Return the ASCII value of the first char in this string value.
See Also: Chr$( ).
Example
Sub Main
Debug
.Print Asc("A") ' 65
End
Sub
As type definition
Variable and parameter types, as well as, function and property results may be specified using As type: Boolean,
Byte
, Currency, Date, Double, Integer, Long, Object, PortInt, Single, String, String*n, UserDialog, Variant, objtype,
userenum
, usertype.
Atn Function
Syntax
Atn(Num)
Group
Math
Description
Return the arc tangent.
Parameter Description
Num Return the arc tangent of this numeric value. This is the number of radians. There are
2*Pi radians in a full circle.
Example
Sub Main
Debug
.Print Atn(1)*4 ' 3.1415926535898
End
Sub










