Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

global variable in fortran

Status
Not open for further replies.

mpivi

Programmer
Feb 11, 2009
1
US
I am trying to get rid of common blocks.

can I define a variable in the main program that is valid through all the program including subroutines?

i mean without using common blocks or passing it to the subroutines

Thanks!
Mauro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top