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>Open</strong> <strong>Watcom</strong> <strong>FORTRAN</strong> <strong>77</strong> Extensions to Standard <strong>FORTRAN</strong> <strong>77</strong><br />

LOOP-ENDLOOP<br />

UNTIL (can be used with WHILE and LOOP)<br />

WHILE-ENDWILE<br />

GUESS-ADMIT-ENDGUESS<br />

ATENDDO-ENDATEND<br />

ATEND<br />

SELECT-ENDSELECT<br />

DOWHILE-ENDDO<br />

DO-ENDDO (no statement number)<br />

REMOTEBLOCK-ENDBLOCK<br />

EXECUTE<br />

QUIT<br />

EXIT<br />

CYCLE<br />

48. Block labels can be used to identify blocks of code.<br />

LOOP : OUTER_LOOP<br />

<br />

LOOP : INNER_LOOP<br />

<br />

IF( X .GT.100 ) QUIT : OUTER_LOOP<br />

<br />

ENDLOOP<br />

<br />

ENDLOOP<br />

49. An integer expression in an IF, ELSE IF, DO WHILE, WHILE or UNTIL statement is<br />

allowed. The result of the integer expression is compared for inequality to the integer value 0.<br />

<strong>Open</strong> <strong>Watcom</strong> <strong>FORTRAN</strong> <strong>77</strong> Extensions to Standard <strong>FORTRAN</strong> <strong>77</strong> 289

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

Saved successfully!

Ooh no, something went wrong!