|
This function returns the ASCII-Code of the characters determined with POS in the specified string. |
|||||||||
Syntax: |
||||||||||
{INT_VAR}= asc({STR_EXPR},{EXPR}) | ||||||||||
Input/Output parameter:
|
||||||||||
Return value: |
||||||||||
|
||||||||||
Example: |
||||||||||
Variable Declaration | ||||||||||
10 DOCU_INT_1=asc("ABC", 2) 20 put(DOCU_INT_1) |
||||||||||
Result: The ASCII Code of the leter "B" is returned (66). |
||||||||||
![]() |
Functions and Commands: Type Conversion |