Macro File Editing Rules
When editing a macro file, follow the rules described below.
Macro File Syntax
The macro file syntax is as follows.
File format
The file is in CSV (comma-separated value) format.
Newline code
CR (ASCII code 0D), LF (ASCII code 0A), or CRLF may be used.
Statement syntax
There are four types of statement, each terminated by a newline code.
File header: This must always appear as the first line of the file. It comprises
Comment: Begins with "#". The remainder of the line up to the newline code
Event statement: Begins with "Event?", and defines the macro event. (See
Continue statement: Begins with "Continue?", and defines the macro event.
440
Macro File Editing Rules
28 characters, as follows.
Example: PNL 0001PNL_rrrr.PMRnnnnnnnn (4th character position is a
space)
rrrr: macro register number (0001 to 0099)
nnnnnnnn: In a file created on the switcher, this is a register name
automatically set by the switcher.
When creating a new file, it is recommended to set this to be the same as
the file name (see page 442).
The name is limited to eight characters.
The following characters may not be used.
space, \, /, :, ;, , (comma), . (dot), <, >, *, ?, " "
is ignored.
next item, "Syntax of Event and Continue Statements".)
(See next item, "Syntax of Event and Continue Statements".)
Some events cannot be used. (See "Correspondence Between Events and
Symbols" (page 443).)