Converts string to ASCII code value.
str2code <intvar> <string>
If the <string> consists of one character, this function copies the ASCII code for the character to the integer variable <intvar>.
If the length of <string> is longer than one, this function converts <string> to its ASCII code sequence and copies it to <intvar>. The variable <intvar> can store 4 ASCII codes at maximum.
If the length of <string> is longer than 4, the last 4 bytes of ASCII code sequence is copied to <intvar>.
str2code val 'A' ; val=65 (ASCII code for "A") str2code val 'AB' ; val=65*256+66