Please enable JavaScript to view this site.

A-Shell Reference

Added May 2024

xcall MIAMEX, MX_LOCALE, op, attrid, value, status

MX_LOCALE (205) provides a convenient way to query the native OS locale information, in contrast to the A-Shell locale which is set via the LANGUAGE parameter in miame.ini and queried via GTLANGxs. This routine is intended to be helpful when debugging the confusing situation that can occur when either A-Shell or the native OS is using the period as a thousands separator and/or the comma as the decimal point.

Parameters

op  (Integer)  [in]

operation: 0=get; no other options are currently supported

attrid  (String)  [in]

attribute to get:  "dec" = decimal point character, "tsp" - thousands separator character

value  (String)  [in/out]

value of attribute

status  (Signed Int)  [out]

returns 0 for ok, else error #

History

2024 May, A-Shell 7.0.1759:  Function added to A-Shell.