Difference between revisions of "User Defined Data - UDD"
From Zenitel Wiki
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Event Handler]] scripts can have variables | + | {{AI}} |
+ | [[Event Handler]] scripts can have variables called '''User Defined Data - UDD'''. A UDD is a 32-bit integer value. The content of a UDD survives reset. | ||
− | There are 6000 variables. The Event Handler programmer can use the variables any way they want, but they must keep track of how the 6000 variables are used. It is not possible to give the variables names. | + | There are 6000 variables, numbered 1 to 6000. The Event Handler programmer can use the variables any way they want, but they must keep track of how the 6000 variables are used. It is not possible to give the variables names. |
'''Write to an UDD variable''': | '''Write to an UDD variable''': | ||
− | * Built-in action command [[wudd|WUDD]] | + | * Built-in action command: [[wudd|WUDD]] |
− | * Data command | + | * Data command: [[WRITE USER DEF DATA|$WUDD]] |
'''Read an UDD variable''': | '''Read an UDD variable''': | ||
− | * [[%udd]] | + | * Macro: [[%udd]] |
+ | |||
+ | |||
+ | Before AMC 09.01 there was 600 UDD variables, 1-600. | ||
+ | |||
+ | [[Category:Event Handler]] |
Latest revision as of 15:19, 4 October 2019
Event Handler scripts can have variables called User Defined Data - UDD. A UDD is a 32-bit integer value. The content of a UDD survives reset.
There are 6000 variables, numbered 1 to 6000. The Event Handler programmer can use the variables any way they want, but they must keep track of how the 6000 variables are used. It is not possible to give the variables names.
Write to an UDD variable:
Read an UDD variable:
- Macro: %udd
Before AMC 09.01 there was 600 UDD variables, 1-600.