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.

• A statement label in the same program unit as the ASSIGN statement.• The label of an executable statement or a FORMAT statement.A variable must be defined with a statement label when it is referenced:• In an assigned GOTO statement.• As a format identifier in an input/output statement and while so defined must not bereferenced in any other way.An integer variable defined with a statement label can be redefined with a different statementlabel, the same statement label or with an integer value.ExampleASSIGN 40 TO KGO TO K40 L = P + I + 56BACKSPACE 77When a BACKSPACE statement is executed the file connected to the specified unit is positionedbefore the preceding record.SyntaxBACKSPACE unitBACKSPACE ([UNIT=]unit [,ERR=errs] [, IOSTAT=ios])DescriptionUNIT=unitERR=sunit is the unit specifier.s is an executable statement label for the statement used for processingan error condition.IOSTAT=ios ios is an integer variable or array element. ios becomes defined with 0if no error occurs, and a positive integer when there is an error.If there is no preceding record, the position of the file is not changed. A BACKSPACE statementcannot be executed on a file that does not exist. Do not issue a BACKSPACE statement for a filethat is open for direct or append access.Fortran Statements 59

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

Saved successfully!

Ooh no, something went wrong!