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.

18.3.1. ASCII/ISO and ASCII-like<br />

SAR$ WRITE<br />

If the text to be written out is in the ASCII/ISO character set, it is placed in the text<br />

buffer. An attribute table is not necessary; the attribute table word length is set to zero.<br />

18.3.2. ASCII/ISO with Embedded Shift-Coded Kanji<br />

If the text to be written out already contains the embedded shift-code bytes, it is placed<br />

in the text buffer. An attribute table is not necessary; the attribute table word length is<br />

set to zero.<br />

If the text to be written out is in internal format, the text part is placed in the text buffer,<br />

and the attributes are placed in the attribute table. The WRITE procedure places the<br />

shift-code bytes in the image before it is written out. Subsection 16.2 describes internal<br />

format.<br />

Multiple Block Sequence Indicator<br />

If the multiple block sequence indicator is set in the last shift code of a record, the next<br />

physical record is treated as a part of the current record. A complete record is returned<br />

with the requested attribute table.<br />

18.3.3. Attributed Character Data<br />

The text to be written out must be in internal format. The text part is placed in the text<br />

buffer, and the attributes are placed in the attribute table. The WRITE procedure<br />

constructs the ACD image and writes it out. Subsection 16.2 describes internal format.<br />

The Data Structures <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> describes the ACD format.<br />

7833 1733–004 18–35

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

Saved successfully!

Ooh no, something went wrong!