Inspect Manual

Using Inspect With FORTRAN
Inspect Manual429164-006
11-11
Inspect Enhancements and Restrictions for
FORTRAN
This example displays the record using Inspect's default formatting:
-FORTOBJ-DISPLAY rec
REC =
DATE = "082282"
AMOUNT = "000405"
This example displays a single field of the record:
-FORTOBJ-DISPLAY rec^amount
REC^AMOUNT = "000405"
This example displays the record, suppressing the identifiers and quotes:
-FORTOBJ-DISPLAY rec PLAIN
082282
000405
This example displays the whole record, including the FILLERs:
-FORTOBJ-DISPLAY rec WHOLE
REC = "082282 000405"
This example displays the whole record, suppressing the identifiers and quotes:
-FORTOBJ-DISPLAY rec WHOLE PLAIN
082282
000405
Inspect Enhancements and Restrictions for
FORTRAN
The following subsection discusses the difference between programming with
FORTRAN and using Inspect to debug FORTRAN programs.
Spaces in Identifiers
Unlike FORTRAN, Inspect does not allow embedded spaces in identifiers. If your
FORTRAN program includes identifiers that contain embedded spaces, you must
remember to enter them without spaces in Inspect.
Command Usage Guidelines for FORTRAN
Programmers
The following guidelines for FORTRAN programmers using Inspect are arranged
alphabetically by Inspect command name. Not all commands are listed.