Difference between revisions of "%1.exp"
From Zenitel Wiki
Line 28: | Line 28: | ||
or the macro must be followed by empty brackets () if space cannot be used. | or the macro must be followed by empty brackets () if space cannot be used. | ||
− | + | Expression Returned value | |
+ | ---------- -------------- | ||
+ | %1.exp = 4321 | ||
+ | %1.exp Ma = 4321 Ma | ||
+ | %1.exp()Ma = 4321Ma | ||
+ | %1.expMa = <Syntax error> | ||
Revision as of 07:15, 23 October 2015
%1.exp returns the User defined parameter as enterened in AlphaPro, Users & Stations -> UDP tab.
%2.exp is used to read the User Defined Parameter of the "Related-to" station. In AlphaNet this is supported when the station is in the local exchange where the event is executed.
Example:
In the example above, where the UDP field contains "4321":
Expression Returned value ---------- -------------- %1.exp = 4321 %1.exp Ma = 4321 Ma %1.exp()Ma = 4321Ma %1.expMa = Syntax error
Formating of the returned data is supported.
Note: The macro cannot be followed by a character a-z or A-Z. This will result in a syntax error. Either a space character must be used, or the macro must be followed by empty brackets () if space cannot be used.
Expression Returned value ---------- -------------- %1.exp = 4321 %1.exp Ma = 4321 Ma %1.exp()Ma = 4321Ma %1.expMa = <Syntax error>