Difference between revisions of "Wudd"
From Zenitel Wiki
(→Syntax) |
|||
Line 1: | Line 1: | ||
− | The '''WUDD''' command is used in the [[Event Handler]] to write a value to [[UDD]] (User Defined Data variable). | + | The '''WUDD''' command is used in the [[Event Handler]] to write a value to [[UDD]] (User Defined Data variable). The value is changed immediately, before the next statement is executed. The WUDD command can only be used to change values in local exchange. |
===Syntax=== | ===Syntax=== | ||
Line 6: | Line 6: | ||
Write ''value'' to UDD at the location ''index''. Index = 0 - 6000 | Write ''value'' to UDD at the location ''index''. Index = 0 - 6000 | ||
− | |||
− | Example | + | |
+ | ===Example=== | ||
wudd 8 4321 - ''Write value 4321 to variable 8'' | wudd 8 4321 - ''Write value 4321 to variable 8'' | ||
Revision as of 14:17, 4 April 2008
The WUDD command is used in the Event Handler to write a value to UDD (User Defined Data variable). The value is changed immediately, before the next statement is executed. The WUDD command can only be used to change values in local exchange.
Syntax
WUDD index value
Write value to UDD at the location index. Index = 0 - 6000
Example
wudd 8 4321 - Write value 4321 to variable 8
See DP message $WUDD for explanation of the concept. User Defined Data is read with Event Handler macro %udd.
Related command: tmp