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.

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

The floating-point number at location DIVIDEND is divided by the floating-point number<br />

at location DIVISOR and stored at the location QUOTIENT. The A$EFLS1 procedure<br />

edits the quotient into scientific format. The total number of characters used is 11. Five<br />

of these characters are used for digits.<br />

The A$EPRINT procedure prints the image generated at location LINE by executing an<br />

ER APRINT$ and exits edit mode.<br />

4.2.3. Time and Date Editing Routines<br />

PROC Call<br />

A$EDAY1 p1<br />

A$EDAT1<br />

A$EDAY2 p1<br />

A$EDAT2<br />

A$EDAY3 p1<br />

A$EDAT3<br />

AEDIT$T provides ASCII time and date editing to common formats.<br />

Each of these functions accepts input in ER TDATE$ format. (See the Exec ER<br />

<strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>.)<br />

month day year (relative to<br />

1964)<br />

number of seconds since midnight<br />

Table 4–4. AEDIT$T: ASCII Time and Date Editing Routines<br />

Generated<br />

Instructions<br />

LA A0,p1<br />

LMJ X11,AEDAY1$<br />

ER TDATE$<br />

LMJ X11,AEDAY1$<br />

LA A0,p1<br />

LMJ X11,AEDAY2$<br />

ER TDATE$<br />

LMJ X11,AEDAY2$<br />

LA A0,p1<br />

LMJ X11,AEDAY3$<br />

ER TDATE$<br />

LMJ X11,AEDAY3$<br />

Description<br />

Edits the date portion of A0 into the format<br />

mm/dd/yy<br />

where mm, dd, yy are the 2 digits of the month, day, and year,<br />

respectively.<br />

Edits the date portion of A0 into the format<br />

dd mmm yy<br />

where dd and yy are the 2 digits of the day and year,<br />

respectively, and mmm is a 3-character abbreviation for the<br />

month.<br />

Edits the date portion of A0 into the format<br />

month dd, year<br />

where month is the name of the month (up to 9 characters), dd is<br />

the day (1 or 2 characters), and year is the 4-digit year.<br />

4–18 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!