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.

J.3.1. Editing Functions<br />

Obsolete Entry Points, PROCs, and Routines<br />

These editing functions convert the information to be output. In all cases, except E$A<br />

(alphanumeric words), the field specifies the print position at which the rightmost digit,<br />

bit, or character will be printed. The number given in parentheses following the<br />

procedure call is the octal function code.<br />

E$D(01)–Decimal<br />

The address word is treated as if it were a signed decimal integer and is edited<br />

without a decimal point unless a set function (see E$PNT, J.3.3) is in effect. Leading<br />

zeros to the left are suppressed, and a minus sign, if any, is printed immediately to<br />

the left of the number (also see E$OVRP, J.3.3). If the value is zero, a single zero is<br />

printed. If a set point is in effect, the decimal number is assumed to have the<br />

started point specified by the set point. The d-field specifies the number of decimal<br />

digits to be printed to the right of the decimal point. If a set field function (see<br />

E$FLD, J.3.3) with D = 0 is in effect, the specified field is treated as an unsigned<br />

decimal integer.<br />

E$0(02)–Octal<br />

The d low-order bits of the addressed word are edited and printed as (d+2)/3 octal<br />

digits, unsigned. For a full octal, binary, or alphanumeric character word, d must<br />

always be given as 36.<br />

E$B(03)–Binary<br />

The d low-order bits of the addressed word are edited as d binary digits, unsigned.<br />

E$C(04)–Alphanumeric Characters<br />

The d low-order bits of the addressed word are edited and printed as (d+5)/6<br />

alphanumeric characters in Fieldata code.<br />

E$A(05)–Alphanumeric Words<br />

The d words beginning with the addressed word are edited as 6*d characters in<br />

Fieldata code. For this editing function only, the t-field specifies the print position at<br />

which the leftmost character is printed.<br />

E$E(06)–Floating-Point (FORTRAN E)<br />

The addressed word is edited as a floating-point number with d significant digits.<br />

Normally these are all printed to the right of the decimal point (see E$SCL, J.3.3).<br />

A decimal exponent consisting of a sign and 2 digits is inserted immediately to the<br />

right of the significant portion. If the floating-point number is negative, a minus sign<br />

is inserted immediately to the left of the number (see E$OVRP, J.3.3). If the<br />

addressed word is minus zero, there is no effect and the field is left blank.<br />

7833 1733–004 J–5

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

Saved successfully!

Ooh no, something went wrong!