- #1
Nrets
- 1
- 0
Hey guys,
I am wondering if anyone could help me with a simple problem.
I want to remove key parameters from the "type declaration/parameter" portion of my code and into an external input file for easy access. The problem is, many of my variables (such as arrays) can't be defined until these key parameters are known. However, the program structure disallows a function like "open" in or before the array declarations. In other words, I can only open an input file after I have defined all my global variables. But I can't define all my global variables without opening the input file.
There has to be a solution, yes? Any help would be appreciated.
- B
I am wondering if anyone could help me with a simple problem.
I want to remove key parameters from the "type declaration/parameter" portion of my code and into an external input file for easy access. The problem is, many of my variables (such as arrays) can't be defined until these key parameters are known. However, the program structure disallows a function like "open" in or before the array declarations. In other words, I can only open an input file after I have defined all my global variables. But I can't define all my global variables without opening the input file.
There has to be a solution, yes? Any help would be appreciated.
- B