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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AEDIT$–ASCII Image Composition Editing Package<br />

Table 4–2. AEDIT$: General Purpose ASCII Editing Routines<br />

PROC Call Generated<br />

Instructions<br />

A$EPACK<br />

p1,p2<br />

A$EPRINT p1 LA,U A0,p1<br />

LA,U A0,p2 Copy and pack a string.<br />

LMJ X11,AEPRINT$<br />

A$ESKIP p1 LA,XU A0,p1<br />

LMJ X11,AESKIP$<br />

Print image line and AEDITX$.<br />

Description<br />

The image pointed to by the image location in the packet is<br />

printed and AEDITX$ performed. The line spacing is given in<br />

p1. If the parameter is omitted, a value of one is used.<br />

The AEDIT$ routines do not limit the size of the image that can<br />

be created. However, the size of the image that can be<br />

printed is limited by both the AEPRINT$ routine and the<br />

current print width.<br />

The AEPRINT$ routine has a limit of 63 words or 252 ASCII<br />

characters. If the image contains more than 63 words,<br />

AEPRINT$ prints the first 63 words and ignores the extra<br />

words.<br />

The print width is a control parameter for the Exec printer<br />

handlers. If the length of the image is greater than the current<br />

print width, a type 02 (SYMB) code 04 (SDF image length<br />

error) contingency occurs.<br />

The standard default value for print width is 33 words or 132<br />

ASCII characters. To print an image larger than this, you must<br />

increase the print width by using the print control 'W' function.<br />

Refer to the Exec Request <strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong> for<br />

a description of the print control functions.<br />

Note: To establish the print width for the maximum size<br />

image that can be output by AEPRINT$ (63 words or 252 ASCII<br />

characters), issue a print control "W,42" function. With this<br />

print width, no contingency due to length error will ever occur<br />

when using AEPRINT$. This is because AEPRINT$ prints a<br />

maximum of 63 words of image data and ignores any words<br />

beyond 63.<br />

Advance the column pointer.<br />

The number given in p1 is added to the column pointer.<br />

p1 may be negative.<br />

4–12 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!