dyncom, Qdyncom

Enables dynamic allocation of common blocks at run time.

Syntax

Linux:

-dyncom "common1,common2,..."

macOS:

-dyncom "common1,common2,..."

Windows:

/Qdyncom "common1,common2,..."

Arguments

common1,common2,...

Are the names of the common blocks to be dynamically allocated. The list of names must be within quotes.

Default

OFF

Common blocks are not dynamically allocated at run time.

Description

This option enables dynamic allocation of the specified common blocks at run time. For example, to enable dynamic allocation of common blocks a, b, and c at run time, use this syntax:

/Qdyncom "a,b,c"    ! on Windows systems
-dyncom "a,b,c"     ! on Linux and macOS* systems

The following are some limitations that you should be aware of when using this option:

Note

On macOS* systems, to successfully enable dynamic allocation of common blocks, you must specify the link-time option -undefined dynamic_lookup as well as option -dyncom.

IDE Equivalent

Visual Studio: Data > Dynamic Common Blocks

Alternate Options

None

See Also