24.11.2014 Views

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

Open Watcom FORTRAN 77 Language Reference

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

<strong>Language</strong> <strong>Reference</strong><br />

11.6 Nonrepeatable Edit Descriptors<br />

The forms of nonrepeatable edit descriptors are:<br />

’hh...h’ (apostrophe)<br />

nHhh...h<br />

Tc<br />

TLc<br />

TRc<br />

nX<br />

/<br />

:<br />

S<br />

SP<br />

SS<br />

kP<br />

BN<br />

BZ<br />

X<br />

As an extension to the <strong>FORTRAN</strong> <strong>77</strong> language, the following nonrepeatable edit descriptors are also<br />

supported.<br />

$<br />

\<br />

where:<br />

Apostrophe, H, T, TL, TR, X, /, :, S, SP, SS, P, BN, BZ, \ and $ indicate the<br />

method of editing.<br />

h is a character.<br />

n and c are positive unsigned integer constants.<br />

k is an optionally signed integer constant.<br />

<strong>Open</strong> <strong>Watcom</strong> <strong>FORTRAN</strong> <strong>77</strong> allows edit descriptors to be specified using lower case letters.<br />

11.7 Editing<br />

Edit descriptors are used to describe the way the editing between internal representation of data and the<br />

characters of a record in a file is to take place. When the edit descriptors I, F, E, D, G, L, A, H,<br />

Z or apostrophe are processed, they process a sequence of characters called a field. On input, the field is<br />

the character data read from a record; on output it is the character data written to a record. The number of<br />

characters in a field is called the field width.<br />

228 Editing

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

Saved successfully!

Ooh no, something went wrong!