12.07.2015 Views

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

PGI Fortran - Servidor WWW del Cluster Ladon-Hidra

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

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

DescriptionThe END statement terminates a module. The END statement has the same effect as a RETURNstatement in a SUBROUTINE or FUNCTION, or the effect of a STOP statement in a PROGRAMprogram unit. END may be the last statement in a compilation or it may be followed by a newprogram unit or module.END DO SyntaxThe END DO statement terminates a DO or DO WHILE loop.END DODescriptionThe END DO statement terminates an indexed DO or DO WHILE statement which does notcontain a terminal-statement label.The END DO statement may also be used as a labeled terminal statement if the DO or DO WHILEstatement contains a terminal-statement label.END FILE SyntaxEND FILE uEND FILE ([UNIT=]u, [,IOSTAT =ios] [,ERR=errs] )uIOSTAT=iosERR=errsis the external unit specifier where u is an integer.an integer scalar memory reference which is the input/output specifier:if this is included in list, ios becomes defined with zero if no errorcondition exists or a positive integer when there is an error condition.an error specifier which takes the form of a statement label of anexecutable statement in the same program. If an error condition occursexecution continues with the statement specified by errs.DescriptionWhen an END FILE statement is executed an endfile record is written to the file as the nextrecord. The file is then positioned after the endfile record. Note that only records written prior tothe endfile record can be read later.A BACKSPACE or REWIND statement must be used to reposition the file after an END FILEstatement prior to the execution of any data transfer statement. A file is created if there is an ENDFILE statement for a file connected but not in existence.Fortran Statements 83

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

Saved successfully!

Ooh no, something went wrong!