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.

Section 4<br />

AEDIT$–ASCII Image Composition<br />

Editing Package<br />

The AEDIT$ package is a set of ASCII editing subroutines. The calling program uses<br />

these subroutines to compose strings of ASCII characters in a specified data area.<br />

AEDIT$ is helpful in composing ASCII images for<br />

• ASCII output printed by ER APRINT$, ER APRNTA$, and ER SYMB$ (PRINT$)<br />

• ASCII output punched by ER APUNCH$, ER APNCHA$, and ER SYMB$ (PUNCH$)<br />

• Other Executive requests that require ASCII images, such as ER ASCF$, ER CSI$,<br />

and ER QECL$<br />

• Any other applications that require ASCII images<br />

AEDIT$ uses the full ASCII character set. Images are built up from individual characters<br />

or groups of characters or by copying character strings from other data areas. AEDIT$<br />

allows the calling program to use column settings when composing the ASCII image.<br />

AEDIT$ edits numeric data into ASCII characters. This includes decimal, octal, and<br />

floating-point numbers. The floating-point numbers can be either single-precision or<br />

double-precision. AEDIT$ also creates an ASCII string containing the date and time,<br />

using standard formats. AEDIT$ uses the current date and time, or a date and time<br />

specified by the calling program.<br />

AEDIT$ places the composed image in the data area or buffer provided by the calling<br />

program.<br />

AEDIT$ is reentrant and does not use any D-bank storage. The calling program supplies<br />

the packet for AEDIT$, which is used to pass information to and from the AEDIT$<br />

routines. The size of the AEDIT$ packet is 17 words. The packet format is described in<br />

4.1.<br />

AEDIT$ is available in both relocatable and common bank versions. The relocatable and<br />

common bank entry points for the AEDIT$ routines are listed in Appendix E.<br />

AEDIT$ establishes an "edit mode" while the image is being composed. The edit mode<br />

begins when the A$EDIT or A$EDITR PROCs are called and terminates when the<br />

A$EDITX or A$EPRINT PROCs are called. The AEDIT$ routines use the volatile register<br />

set. In addition, the relocatable version of AEDIT$ saves the contents of and uses<br />

registers X1, X2, and X3 during edit mode. These registers must not be modified during<br />

edit mode. AEDIT$ restores the original contents when exiting edit mode.<br />

7833 1733–004 4–1

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

Saved successfully!

Ooh no, something went wrong!