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...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

REWIND 77The REWIND statement positions the file at its beginning. The statement has no effect if the file isalready positioned at the start or if the file is connected but does not exist.SyntaxREWIND unitREWIND (unit,list)unitlistUNIT=unitERR=errsIOSTAT=iosExamplesREWIND 5REWIND(2, ERR=30)REWIND(3, IOSTAT=IOERR)is an integer value which is the external unit.contains the optional specifiers as follows:unit is the unit specifier.errs is an executable statement label for the statement used forprocessing an error condition. If an error condition occursexecution continues with the statement specified by s.ios is an integer variable or array element. ios becomes definedwith 0 if no error occurs, and a positive integer when there isan error.SAVE 77The SAVE statement retains the definition status of an entity after a RETURN or END statementin a subroutine or function has been executed.SyntaxSAVE [v [, v ]...]vDescriptionname of array, variable, or common block (enclosed in slashes)Using a common-block name, preceded and followed by a slash, ensures that all entities within thatCOMMON block are saved. SAVE may be used without a list, in which case all the allowableentities within the program unit are saved (this has the same effect as using the –Msave command-Fortran Statements 131

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

Saved successfully!

Ooh no, something went wrong!