I'd like to split my macros into separate files and then include them in a main file. i.e. I'd have all my LET statements in one file, all my SRT's in another and then 'include' these two files in a main file.
The advantage is I'd have a modular macro which is much easier to understand.... and shorter.
Can you have "include" files?
Moderators: JRL, Dorian (MJT support)
but then I'd have to...
I saw this function but it only solves half the problem in keeping my variables in a single file. It doesn't solve the "tidyness" of my macros as I'd have to replace each Let>... with a ReadIniFile>.... statement.
I just had another thought though, maybe I could put all the initialisation stuff in a subroutine right at the bottom of the script, then call it first. I just hate having to scroll through 100 lines of variables to get to the code.
I just had another thought though, maybe I could put all the initialisation stuff in a subroutine right at the bottom of the script, then call it first. I just hate having to scroll through 100 lines of variables to get to the code.