FPT and WinFPT Reference Manual - Command-line Commands

| SimCon Home | Reference Manual Home |


CHANGE DICTIONARY TO INCLUDE

Syntax:

[DO NOT] CHANGE DICTIONARY TO INCLUDE

Function:

DICTIONARY statements are supported under VMS. The Common Data Dictionary utility is used to access a data structure which contains a language independent specification of structures. The same structure may then be accessed in Fortran, C and other languages, and is guaranteed to have the same layout in memory.

FPT does not have access to Common Data Dictionary support. It therefore processes DICTIONARY statements as if they were INCLUDE statements. The structures specified in DICTIONARY statements do not have file name extensions, and FPT adds the current include input file name extension when searching for the files. These files must exist in the include file search path, and usually need to be created from compilation listings.

The command CHANGE DICTIONARY TO INCLUDE instructs FPT to replace the DICTIONARY keyword by INCLUDE. The code may then be migrated to non-VMS systems.

Where to use this command:

Operating system command line

Yes


Configuration file, config.fsp

Yes


Specification (FSP) files, *.fsp

Yes


Interactively, to FPT> prompt:

Yes


Interactive command files

Yes


Embedded in the Fortran code

Yes


Default:

DICTIONARY statements are not changed to INCLUDE statements by default.

Example:

The DICTIONARY specifications:

DICTIONARY 'pilotrec' DICTIONARY 'simulator.staff.sortie_director'

are converted to:

INCLUDE 'pilotrec.fpi' INCLUDE 'simulator.staff.sortie_director.fpi'

Note that CDD DICTIONARY specifications may be structured, with dot-separated fields. The INCLUDE files may therefore contain the dots, and may not be valid on all systems.

The file name extensions are the current include output file name extensions, and may be changed by the INCLUDE OUTPUT FILE NAME EXTENSION command.

See Also

INCLUDE OUTPUT FILE NAME EXTENSION


Copyright ©1995 to 2014 Software Validation Ltd. All rights reserved.