24.05.2014 Views

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

XL Fortran Enterprise Edition for AIX : User's Guide - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

How to Read the Syntax Diagrams and Statements<br />

This document uses notation often referred to as “railroad tracks” to illustrate<br />

syntax <strong>for</strong> <strong>Fortran</strong> statements and <strong>AIX</strong> commands. Syntax <strong>for</strong> compiler options is<br />

illustrated through statements using notation often referred to as “braces and<br />

brackets”.<br />

<strong>Fortran</strong> keywords are shown in uppercase: <strong>for</strong> example, OPEN, COMMON, and<br />

END. You must spell them exactly as they are shown, although they are not<br />

case-sensitive.<br />

Variable names and user-specified names appear in lowercase italics; <strong>for</strong> example,<br />

array_element_name.<br />

If a variable or user-specified name ends in _list, it means that you can provide a<br />

list of terms that are separated by commas.<br />

You must enter punctuation marks, parentheses, arithmetic operators, and other<br />

special characters as part of the syntax.<br />

Syntax Diagrams<br />

v Read syntax diagrams from left to right and from top to bottom, following the<br />

path of the line:<br />

– The ►►─── symbol indicates the beginning of a command.<br />

– The ───► symbol indicates that the command syntax continues on the next<br />

line.<br />

– The ►─── symbol indicates that a command is continued from the previous<br />

line.<br />

– The ───►◄ symbol indicates the end of a command.<br />

– Diagrams of syntactical units smaller than complete statements start with the<br />

►─── symbol and end with the ───► symbol.<br />

– Constructs, interface blocks and derived type definitions consist of several<br />

individual statements. For such items, individual syntax diagrams show the<br />

required order <strong>for</strong> the equivalent <strong>Fortran</strong> statements.<br />

v Required items appear on the main path (the main path):<br />

►► command_name required_argument ►◄<br />

v<br />

Optional items appear below the main path:<br />

►►<br />

command_name<br />

optional_argument<br />

►◄<br />

v<br />

If you can choose from two or more items, they appear vertically, in a stack.<br />

If you must choose one of the items, one item of the stack appears on the main<br />

path:<br />

►► command_name required_argument<br />

required_argument<br />

►◄<br />

If choosing one of the items is optional, the entire stack appears below the main<br />

path:<br />

2 <strong>XL</strong> <strong>Fortran</strong> <strong>Enterprise</strong> <strong>Edition</strong> <strong>for</strong> <strong>AIX</strong> : User’s <strong>Guide</strong>

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

Saved successfully!

Ooh no, something went wrong!