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.

1.4.2 Fixed Format Label FieldThe label field holds up to five characters. The characters C or * in the first character position of alabel field indicate a comment line.In addition to the characters C or *, either of the characters D or ! in the first position of a labelfield also indicate a comment line.When a numeric field drawn from digits 0 to 9 is placed in the label field, the field is a label. Aline with no label, and with five space characters or a in the label field, is an unlabeledstatement. Each label must be unique in its program unit. Continuation lines must not be labeled.Labels can only be jumped to when they are on executable statements.1.4.3 Fixed Format Continuation FieldThe sixth character position, or the position after the tab, is the continuation field. This field isignored in comment lines. It is invalid if the label field is not five spaces. A value of 0, or indicates the first line of a statement. Any other value indicates a subsequent, continuationline to the preceding statement.1.4.4 Fixed Format Statement FieldThe statement field consists of valid identifiers and symbols, possibly separated by or and terminated by .Within the statement field tabs and spaces are ignored as are comments, characters following a !,or any characters found beyond the 72nd character (unless the option –Mextend is enabled).1.4.5 Fixed Format Debug StatementsThe letter D in column 1 using fixed formatting designates the statement on the specified line is adebugging statement. The compiler will treat the debugging statement as a comment, that isignoring it, unless the command line option –Mdlines is set during compilation. In that case, thecompiler acts as if the line starting with D were a Fortran statement and compiles the lineaccording to the standard rules.1.4.6 Tab FormattingThe <strong>PGI</strong> Fortran compilers support an alternate form of fixed source from called tab source form.A tab formatted source file is made up of a label field, an optional continuation indicator and astatement field. The label field is terminated by a tab character. The label cannot be more than 5characters.Language Overview 17

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

Saved successfully!

Ooh no, something went wrong!