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.

SAR$ ATREAD<br />

19.2.1.5. ATREAD Packet Generation PROC (S$ARATRPKT)<br />

The S$ARATRPKT PROC generates an ATREAD packet, and reserves space for an image<br />

buffer, output text buffer, output attribute table, input text buffer, and input attribute<br />

table. S$ARATRPKT also calls the S$ARATRDEF PROC, which defines the ATREAD<br />

packet fields.<br />

Calling Format<br />

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

The parameters for S$ARATRPKT are the same as for the S$ARATRDEF PROC (see<br />

19.2.1.4).<br />

Returns<br />

The S$ARATRPKT PROC places values in the following fields of the ATREAD packet:<br />

SA$PKTVER SA$IMGBUF SA$IMGBUFL<br />

SA$OTEXTB SA$OATTRT SA$ITEXTB<br />

SA$ITEXTBL SA$ATTRT SA$IATTRTL<br />

All other packet fields are set to default values. However, the calling program must still<br />

place values in the SA$OTEXTBL and SA$OATTRTL fields before calling S$ARATREAD.<br />

The generated buffers and tables use the default lengths (see Table 19–5). The<br />

following externalized labels are used to reference the buffers and tables:<br />

SAIMGBUF Image buffer<br />

SAOTEXTB Output text buffer<br />

SAOATTRT Output attribute table<br />

SAITEXTB Input text buffer<br />

SAIATTRT Input attribute table<br />

19–18 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!