Visible to Intel only — GUID: GUID-589D550E-78DD-4CED-BFEB-9BEE8F449455
Visible to Intel only — GUID: GUID-589D550E-78DD-4CED-BFEB-9BEE8F449455
Logical Editing (L)
The L data edit descriptor transfers logical values. It takes the following form:
Lw
The specified I/O list item must be of type logical or integer.
The G edit descriptor can be used to edit logical data; it follows the same rules as Lw.
Rules for Input Processing
On input, the L data edit descriptor transfers w characters from an external field and assigns their logical value to the corresponding I/O list item. The value assigned depends on the external field data, as follows:
.TRUE. is assigned if the first non-blank character is .T, T, .t, or t. The logical constant .TRUE. is an acceptable input form.
.FALSE. is assigned if the first non-blank character is .F, F. .f, or f, or the entire field is filled with blanks. The logical constant .FALSE. is an acceptable input form.
If another value appears in the external field, an error occurs.
Rules for Output Processing
On output, the L data edit descriptor transfers the following to an external field that is w characters long: w - 1 blanks, followed by a T or F (if the value is .TRUE. or .FALSE., respectively).
The following shows output using the L edit descriptor (the symbol ^ represents a non-printing blank character):
Format Value Output L5 .TRUE. ^^^^T L1 .FALSE. F