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

Create successful ePaper yourself

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

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

This form of the REAL 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 />

REAL A/1.2/, B(10)/10*5.0/<br />

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

initialized with the real constant 5.0.<br />

REAL Statement 129

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

Saved successfully!

Ooh no, something went wrong!