dbx90
ExpressionsLiteral constants can be of any intrinsic type, e.g.
INTEGER | 42 |
REAL | 1.2 |
1.3e2 | |
COMPLEX | (5.2,6.3) |
CHARACTER | "string" |
LOGICAL | .TRUE. |
.T. |
Subscript expressions must be scalar and of type INTEGER
.
All intrinsic operations are supported except for exponentiation and concatenation, that is:
+
, -
, *
, /
, ==
, /=
, <
,
<=
, >
, >=
, .AND.
, .OR.
, .NOT.
,
.EQV.
, .NEQV.
, .EQ.
, .NE.
, .LT.
,
.LE.
, .GT.
, .GE.
Note: array operations and operations involving variables of complex, character or derived type are not supported.
ARRAY(:) ARRAY(1:5) ARRAY(1:10:2)
If the stride is supplied it must be a positive scalar expression – negative strides are not supported. All subscript expressions must be scalar – vector subscripts are not supported.
For example,
print var%awill print the “a” component of derived type “var”.
Components of all data types are supported.
Components which are of derived type will be displayed recursively until either:
Array components of intrinsic data types will be truncated to
‘<array>
’, and derived type array components will be truncated to
‘<derived type array>
’.
Allocatable components of derived types are supported.
Derived type assignment is not supported; however, scalar non-derived-type components may be assigned values.