24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

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.

-qlog4 Option<br />

Syntax<br />

-qlog4 | -qnolog4<br />

LOG4 | NOLOG4<br />

Specifies whether the result of a logical operation with logical operands is a<br />

LOGICAL(4) or is a LOGICAL with the maximum length of the operands.<br />

You can use this option to port code that was originally written <strong>for</strong> the <strong>IBM</strong> VS<br />

FORTRAN compiler.<br />

Arguments<br />

-qlog4 makes the result always a LOGICAL(4), while -qnolog4 makes it depend<br />

on the lengths of the operands.<br />

Restrictions<br />

If you use -qintsize to change the default size of logicals, -qlog4 is ignored.<br />

198 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!