integer*1, integer*2, integer*4, integer*8 logical*1, logical*2, logical*4, logical*8 byte, real*4, real*8, real*16 complex*8, complex*16 character*len, character*(*) [len is a user supplied length] arrays

9.4.2.2 Fortran operators

allocatable

assumed-size

assumed-shape

adjustable

automatic

explicit-shape

Array elements are displayed in column-major order. Use () for array member access (for example, arr(i) instead of arr[i]). Use set print elements to control the number of elements printed out when specifying a whole array. The default is 200 elements or the number of elements of the array, whichever is smaller.

The following Fortran operators are listed here in the order of increasing precedence:

=

 

Assignment

*, -,

*, /

Binary operators

+, -

 

Unary operators

**

 

Exponentiation

.EQ.,

=

Equal

.NE.,

/=

Not equal, or concatenation

.LT.,

<

Less than

.LE.,

<=

Less than or equal to

.GT.,

>

Greater than

.GE.,

>=

Greater than or equal to

//

 

Concatenation

.NOT.

 

Logical negation

.AND.

 

Logical AND

.OR.

 

Logical OR

.EQV.

 

Logical equivalence

.NEQV., .XOR.

Logical non-equivalence

Logical constants are represented as .TRUE. or .FALSE.

GDB includes support for viewing Fortran common blocks.

info common

Lists common blocks visible in the current frame.

9.4 Supported languages 113

Page 113
Image 113
HP gnu source-level debugger 5992-4701 Less than or equal to, Greater than or equal to, Concatenation, Logical