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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>FORTRAN</strong> Statements<br />

r<br />

is an unsigned positive integer constant or the symbolic name of a constant.<br />

This form of the LOGICAL statement is an extension to the <strong>FORTRAN</strong> <strong>77</strong> language. The rules for data<br />

initialization are the same as for the DATA statement.<br />

Example:<br />

LOGICAL A/.TRUE./, B(10)/10*.FALSE./<br />

In the previous example, A is initialized with the logical constant .TRUE. and each element of the array B<br />

is initialized with the logical constant .FALSE..<br />

LOGICAL Statement 105

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

Saved successfully!

Ooh no, something went wrong!