Documentation Comments
Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.
RealityV15.1Online Documentation (MoTW) Revision 7
?P command (DataBasic debugger) (M618706+queryp.htm)
Displays the name of the program that is currently executing.
?P
AReturns current account name.
SReturns source filename and item ID.
EReturns emulation.
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 ?P command identifies the program currently running.
If the table files have been created, the ?P command also displays the symbol table, primary source code, and alternate source code file names and item names.
*?P
TEST3
Displays the name of the DataBasic program you are currently running (in this case, TEST3).