?M
Displays the name of the program module that is currently executing.
Syntax
?M
Options
A Returns current account name.
S Returns source filename and item ID.
E Returns emulation.
Operation
A long programming routine might consist of many CALLs to external subroutines as well as branches to numerous programs. In such cases, the line number is not sufficient to identify the point at which you entered the debugger. The ?M command identifies the program currently running.
If the table files have been created, the ?M command also displays the symbol table, primary source code, and alternate source code file names and item names.
Example
*?M
TEST3
Displays the name of the DataBasic program you are currently running (in this case, TEST3).