Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MX_CMD_STATUS

Scroll Prev Top Next More

xcall MIAMEX, MX_CMD_STATUS, cmdcode

MX_CMD_STATUS (MIAMEX 1) gets or sets command file status. cmdcode is a floating point variable which contains the new command file status to set, and into which the current status is returned. Each possible command file status (:R, etc.) is given a different numeric code from the following table:

Value

Meaning

0

No command file currently running

1

Command file is in silent (:S) mode

2

Command file is in response (:R) mode

3

Command file is in trace (:T) mode

4

Command file is executing last line while in silent mode