LOGICAL Output: The L Descriptor

The Lw descriptor is for LOGICAL output. While Fortran uses .TRUE. and .FALSE. to indicate logical values true and false, respectively, the output only show T and F. The general form of this descriptor is as follows:


The meaning of r and w are:


Let us look at the following example. There are two LOGICAL variables a and b with values .TRUE. and .FALSE., respectively. In the following table, the WRITE statements are shown in the left and their corresponding output are shown in the right.