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.

EDIT$–Fieldata Image Composition Editing Package<br />

SAVE3<br />

NDP<br />

NDF<br />

SIGN<br />

ZERO<br />

FCOL<br />

SCALE<br />

VALUE<br />

Used to save X3 during edit mode.<br />

Number of digits to be edited before the decimal point.<br />

Number of digits to be edited following the decimal point.<br />

Nonzero if the floating-point number being edited is negative.<br />

Nonzero if the floating-point number being edited was not normalized.<br />

Contains information to facilitate proper positioning of the edited result.<br />

Used to build the exponent.<br />

Used to save intermediate results (two words). (Used only by floating point.)<br />

Packet Generation<br />

Two procedures are available to generate a packet for EDIT$. The E$PKT procedure<br />

generates a 6-word packet, and the E$PKTF procedure generates a 10-word packet<br />

suitable for floating-point editing. The format of the procedure calls is<br />

E$PKT il,iloc [‘MSG’,EMSG$-stop]<br />

E$PKTF il,iloc [‘MSG’,EMSG$-stop]<br />

[‘FPS’,fps-number] [‘FPR’,fpr-number]<br />

[‘DPC’,dpc-char] [‘SPC’,spc-char]<br />

The optional lists override the assumed values to be placed in the fields msg, fps, fpr,<br />

dpc, spc. The assumed values are msg = '&', fps = 1, fpr = 1, dpc = 0, and spc = 0.<br />

The format of an override list consists of the name of the field enclosed in quotes, a<br />

comma, and the value to be used. For example, the following PROC reference<br />

generates a packet that edits floating-point numbers in a format similar to that used by<br />

FORTRAN:<br />

PKT E$PKTF 22,LINE ‘FPS’,0 ‘FPR’,0 ‘SPC’,’E’ ‘DPC’,‘D’<br />

8–4 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!