Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Common Block

JohnNichols
Valued Contributor III
461 Views
    COMMON nrhs

 

In the code I am using there is the common statement in two subroutines -- I always thought that a common block had to have a name?

 

0 Kudos
1 Reply
Steve_Lionel
Honored Contributor III
461 Views

Nope - there is a thing called "blank COMMON" with slightly different semantics (you're allowed to have different lengths in different program units.) The more common (!) use of it in the past was for temporary variables where you didn't care if some other subroutine used the same memory.

0 Kudos
Reply