Feb 11, 2009 #1 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
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
Feb 12, 2009 #2 ArkM IS-IT--Management Oct 21, 2002 1,819 RU http://www.pcc.qub.ac.uk/tec/courses/f90/stu-notes/F90_notesMIF_8.html#HEADING97 Upvote 0 Downvote