Unit installation
8-21
RLC-3 V1.80 Copyright © 1998 Link Communications Inc. 9/17/98
067: Set Macro Data Length
This is an advanced command that lets you specify that a macro should gather some extra
information (more digits entered after the name of the macro) when it is executed and pass that
information on to the commands inside of the macro. See the examples below for some of the
possible uses of this command.
<067> mmm recall data length for macro ‘mmm’
<067> mmm xx y ‘mmm’ is the macro number
‘xx’ is number of digits of data
‘y’ is ‘0' if the amount of data must be exact or
‘1' if more data is OK.
Notes:
When the macro executes, any commands in the macro that require a fixed amount of data
will first take the data that was specified when the macro was programmed, then will take as
many of the digits specified at runtime as needed.
Commands in the macro that will accept a variable amount of data get all of the remaining
digits specified at run-time.
Any extra digits will be discarded.
Examples:
Extra autopatch up code:
067 500 01 1 ; allow macro 500 to take 1 or more digits
053 500 112 ; make macro 500 call patch up command
; the phone number will be specified at runtime
010 500 n..n ; rename new patch up code to "n..n"
Usage: “n..n <phone number>”
Connect port 3 to the port that user specifies:
067 501 01 0 ; allow macro 500 to take 1 digit
053 501 000 3 ; connect port 3 to port specified at runtime
Usage: "501 x" will connect port 3 to port x