REPORTER 22.1
Accessing Existing Variables in REPORTER
Accessing existing variables in REPORTER
If you only want to use one or two variables from REPORTER then they can be passed as arguments to your program. However, if you want to access a lot of variables (or print all the variables to a file) this would not be possible.
To overcome this, REPORTER adds an extra argument to every program that it runs. This extra argument is a filename which contains lines of the form:
VAR <NAME> VALUE="<value>" DESCRIPTION="<description>"
You can read this file and pick up all the variables from REPORTER.