Actions

Difference between revisions of "User Defined Data - UDD"

From Zenitel Wiki

Line 1: Line 1:
 
[[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.
 
[[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 (600 before AMC 09.01). 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, 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''':  
Line 9: Line 9:
 
'''Read an UDD variable''':
 
'''Read an UDD variable''':
 
* Macro: [[%udd]]
 
* Macro: [[%udd]]
 +
 +
 +
Before AMC 09.01 there was 600 UDD variables, 1-600.
  
 
[[Category:Event Handler]]
 
[[Category:Event Handler]]

Revision as of 10:36, 18 April 2016

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, 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:

  • Built-in action command: WUDD
  • Data command: $WUDD

Read an UDD variable:


Before AMC 09.01 there was 600 UDD variables, 1-600.