18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

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.

SC$OIMGLEN<br />

The length in bytes of the image written out by the SAR$ COM procedure.<br />

SC$TEXTLEN<br />

SAR$ COM<br />

The length in 9-bit bytes of the character text read from the operator's console and<br />

returned in the input text buffer.<br />

SC$NUMATTR<br />

The number of attributes returned in the input attribute table.<br />

20.2.1.4. COM Packet Definition PROC (S$ARCOMDEF)<br />

The MASM PROC S$ARCOMDEF generates EQUFs that define the SAR$ COM packet.<br />

The calling program may optionally attach an X-register and a B-register to these EQUFs.<br />

This allows the calling program to allocate storage space for the COM packet either<br />

statically at assembly time or dynamically at execution time.<br />

The calling program may display the EQUF labels by setting a display-flag parameter on<br />

the PROC call. This PROC also generates EQUs defining the COM packet current<br />

version and word length at the labels SC$CURVER and SA$PKTWLEN, respectively.<br />

Calling Format<br />

S$ARCOMDEF x-reg,b-reg,dispflg<br />

Parameters<br />

x-reg<br />

b-reg<br />

dispflg<br />

The X-register that is attached to the COM packet EQUFs. If it is omitted, no<br />

X-register is attached to the EQUFs.<br />

The B-register that is attached to the COM packet EQUFs. If it is omitted, no<br />

B-register is attached to the EQUFs.<br />

A flag that displays a table of the COM packet EQUFs. If it is set to 'D', the field<br />

names are displayed; otherwise the field names are not displayed.<br />

7833 1733–004 20–15

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

Saved successfully!

Ooh no, something went wrong!