Syntax of event and continue statements, How to use continue statements – Sony Multi Interface Shoe Adapter User Manual
Page 814
Ap
pend
814
Macro File Editing Rules
Some events cannot be used. (
See
“Correspondence Between Events and
.)
Syntax of Event and Continue Statements
An event can be written with an Event statement only, or with an Event
statement followed by any number of Continue statements. The Event
statements and Continue statements have the following syntax.
Word separator character
Use “,” (comma).
Ignored
Spaces and tabs are ignored. There is no distinction between lowercase and
uppercase. If two or more separator characters appear consecutively, later ones
are ignored. Separator characters at the beginning of a line are also ignored.
Content of line
Must begin with “Event?” or “Continue?”, followed by symbols and
parameters.
Event?,[symbol], [parameter], [parameter], ...
Continue?,[symbol], [parameter], [parameter], ...
symbol:
ASCII character string showing the type of event. (
See
“Correspondence Between Events and Symbols” (page 816)
.)
parameter:
Shows details of an event. Consists of parameter names and
arguments, and these must appear in pairs. The number and type of
parameters depends on the event. (
See
“Symbols and Parameters” (page
.)
If the same parameter appears twice or more, the last occurrence is valid.
How to use Continue statements
When a single parameter has more than one argument, use a Continue
statement. The following example is of a snapshot event.
An event to recall a snapshot in region M/E-1 is written as:
Event?,Snapshot,Region?,ME1,Register?,1,Attribute?,Off,Time?,Current
In the Event statement, only one region can be specified.
To specify both regions M/E-1 and DME1, use a Continue statement, thus:
Event?,Snapshot,Region?,ME1,Register?,1,Attribute?,Off,Time?,Current
Continue?,Snapshot,Region?,DME1,Register?,1,Attribute?,Off,Time?,Current