|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > String commands > !STR.- String Command > Convert String Commands > Convert String Operations |
MiniRobotLanguage (MRL)
STR.Chr To Oem
Translates String into OEM byte characters.

Intention
The STR.Chr to OEM command in SPR-Script is designed to convert characters from the ANSI character set to the OEM (Original Equipment Manufacturer) byte character set.
P1 contains a series of byte (8-bit) characters in OEM format. STR.Chr to OEM translates it into ANSI multi-byte equivalent characters
Syntax
STR.Chr To Oem|P1[P2]
Parameter Explanation
P1 - Source variable. If P2 is missing then its also the destination variable
P2 - (optional) destination variable. If omitted the result is placed in the variable in P1.
Example
'***********************************
' STR.-Sample
'***********************************
VAS.$$UNI=Hallöchen Müßli
PRT.$$UNI|c
STR.CHR to OEM|$$UNI
PRT.$$UNI|c
STR.OEM To CHR|$$UNI
PRT.$$UNI|c
MBX.!
END.

Remarks
-
Limitations:
-
See also:
•