xcall MIAMEX, MX_GETHEX, hexon
MX_GETHEX (MIAMEX 7) returns the hex status. The hexon parameter is a floating point variable which will be set to a non-zero value if hex mode is currently set. Otherwise (i.e. if octal mode is set) it will be set to zero.