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

Create successful ePaper yourself

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

Examples<br />

@process nullterm<br />

i = 1; j = 2;<br />

call printf("i=%d\n",%val(i));<br />

call printf("i=%d, j=%d\n",%val(i),%val(j));<br />

end<br />

Compiling this sample program would normally result in the following output:<br />

"t.f", line 4.36: 1513-029 (W) The number of arguments to "printf" differ<br />

from the number of arguments in a previous reference. You should use the<br />

OPTIONAL attribute and an explicit interface to define a procedure with<br />

optional arguments.<br />

** _main === End of Compilation 1 ===<br />

1501-510 Compilation successful <strong>for</strong> file t.f.<br />

When the program is compiled with -qsuppress=1513-029, the output is:<br />

** _main === End of Compilation 1 ===<br />

1501-510 Compilation successful <strong>for</strong> file t.f.<br />

Related In<strong>for</strong>mation<br />

For another type of message suppression, see “-qflag Option” on page 162.<br />

246 <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!