
4.FUNCTIONS B-66264EN/01
- 12 -
4.1 MACRO COMPILER (MCOMP30I)
The Macro Compiler can compile macro programs created in the text
file format. The Macro Compiler outputs an object file for the macro
linker, reference list file, and compile list file.
Source File
Object File
Macro
(xx.SRC)
MCOMP30I
Object
(xx.REL)
Reference List File(xx.REF)
Compile List File (xx.LST)
MACRO COMPILER
1 O0001;
2 #100=#101+10;
Program
Program
Procedure
Any of the following methods can be selected, but this manual uses
method (2) for description.
(1) Click [Start] and then click [Run].
Enter the following command line in [Open] and then click
<OK>.
MCOMP30I file-spec [parameters]
(2) Click [Start], click [Programs], and then click [Command
Prompt]. Execute the command by entering it at the DOS
prompt.
Change the current directory to the folder in which the source
program is stored by using the CD command, and then execute
the following command line.
C:\xxxxx\xxxxx> MCOMP30I file-spec [parameters]
(xxxxx\xxxxx: Current directory)
* The following descriptions assume the source program to be
compiled is stored in C:\.
*1 file-spec
This specifies a macro program source file. The extension of a
source file name must be .SRC. Source files to be compiled can
be specified in three ways:
(1) Compilation of a single file
C:\> MCOMP30I ABC Þ Compiles ABC.SRC.
(2) Compilation of multiple cards by using a wild card
C:\> MCOMP30I ABC*
Þ Compiles all files whose names start
with ABC and have the
extension .SRC.