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 have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Common Block

JohnNichols
Valued Contributor III
476 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
476 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