XCALL MIAMEX, MX_GTOCT, hexoct, dec
hexoct (String) [in]
Hex or octal value to convert. Radix must match the current hex/octal mode setting; see MX_GETHEX and MX_SETHEX. In hex mode is set, the hexoct string may optionally contain prefix of "0x", "0X", or "&h". The first two are widely used hex prefixes, while the latter is the hex prefix used in A-Shell BASIC.
dec (Num) [out]
Returns the result of the conversion of hexoct to decimal.
Comments
Hex/octal conversions to/from decimal are normally performed using the wrapper functions Fn'Dec2Hex$() and Fn'Hex2Dec() in the sosfunc: directory [907,10] of the SOSLIB.
See Also
• MX_OCVT