24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CMAND. [CALLI 211]<br />

On a successful skip return, the argument block appears as:<br />

Word<br />

o<br />

1<br />

n<br />

Symbol<br />

.CMSIZ<br />

.CMNAM<br />

Contents<br />

Length of returned list<br />

First command in the list<br />

Remaining commands in the list<br />

The monitor returns, in .CMSIZ, the total number of defined commands.<br />

The command names are returned starting at .CMNAM. If the reserved<br />

block is not long enough, the list of command names is limited to the<br />

reserved space.<br />

22 . 14 .5 FUNCTION 4 (. CMRET)<br />

Returns information about a command.<br />

list as:<br />

You must<br />

include the argument<br />

Word<br />

o<br />

1<br />

Symbol<br />

Contents<br />

.CMSIZ Length of argument list<br />

.CMCNM Command name for which information is to be<br />

returned.<br />

In this argument list, specify the length of the block to be returned<br />

in .CMSIZ, and the name of the defined command for which information<br />

is desired, in .CMCNM. The information is returned in the form of a<br />

command block (same as argument list for .CMINT), for the command<br />

name.<br />

22.14.6 FUNCTION 5 (.CMDMP)<br />

Dumps the entire command definition data base.<br />

following argument list:<br />

This function uses the<br />

Word<br />

Symbol<br />

Contents<br />

o<br />

1-n<br />

.CMSIZ<br />

Length of argument list<br />

BLOCK length-1 to reserve<br />

information.<br />

space to return<br />

After the call returns successfully, a list<br />

for defined commands will be returned<br />

Function 0 (.CMINT) for the format of the<br />

Note that the last command block will be<br />

indicate the end of the commarid list.<br />

of all the command blocks<br />

starting at Word 1. See<br />

returned command blocks.<br />

followed by a zero word to<br />

SKIP RETURN<br />

The state of a return from CMAND. UUO is described for each<br />

listed above.<br />

function<br />

22-31

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!