I have written a program for some data analysis. It is gettin long. I would like to restructure it so that i can have a master file which controls multiple subscripts in order to make it easier to understand.
I need to be able to define variables in the master script which are used by all three subscripts.
How do I pass common variables between all these scripts?
My a simplified master file would look like:
./Process_Input_Files
./Create_Input_Deck
./Format_Input_Deck