MIAMEX, MX_GETVER now supports additional optional arguments to return the individual parts of the A-Shell version to simplify the process of parsing out the version parts:
xcall MIAMEX, MX_GETVER, verstr$ {,vmajor, vminor, vedit, vpatch}
Where VMAJOR, VMINOR, VEDIT and VPATCH are numeric values. (B,1 will work for all except VEDIT, which should be at least B,2)
Sample return values:
VERSTR$: "A-Shell Version 5.0.979.9"
VMAJOR : 5
VMINOR : 0
VEDIT : 979
VPATCH : 9