4MELFA-BASIC V
Detailed Explanation of Functions 4-401
Asc
[Function]
Returns the character code of the first character in the string.
[Format]
[Reference Program]
1 M1=Asc("A") ' &H41is assigned to M1.
[Explanation]
(1) Returns the character code of the first character in the string.
(2) An error will be generated if the string is a null string.
[Reference]
Chr$, Val, Cvi, Cvs, Cvd
<Numeric Variable>=Asc(<Character String Expression>)