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>Language</strong> <strong>Reference</strong><br />

c<br />

r<br />

is a constant or the symbolic name of a constant<br />

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

This form of the DOUBLE COMPLEX statement is also an extension to the <strong>FORTRAN</strong> <strong>77</strong> language. The<br />

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

Example:<br />

DOUBLE COMPLEX A/(4D4,5.1D4)/, B(10)/10*(5D1,3.1D1)/<br />

In the previous example, A is initialized with the double precision complex constant (4D4,5.1D4) and<br />

each element of the array B is initialized with the double precision complex constant (5D1,3.1D1).<br />

50 DOUBLE COMPLEX Statement

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

Saved successfully!

Ooh no, something went wrong!