摘要 |
PURPOSE:To take over a great number of variable values by attaching a function to deliver data defined by a file on a compiler to a user program as the variable value. CONSTITUTION:The data read in by a read-in means 3 is separated as a parameter value by a data separation correspondence means 4, and is conformed with a variable name managed uniquely by a system, and is stored in an area corresponding to the variable name in a parameter value/variable name storage device 6. Next, at the time of performing compilation, the compiler 2 reads in the user program 7, and when the variable name is found in the user program 7, a parameter value acquiring means 5 returns the parameter value corresponding to the variable name to the user program 7 by referring to the parameter value/variable name storage device 6. An object program 8 can be generated from the user program 7 based on the parameter value. In such a way, it is not necessary to re-compile a macro to correct information defined in the macro, thereby, a great number of variable values can be taken over.
|