Actions

Difference between revisions of "User Defined Data - UDD"

From Zenitel Wiki

 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{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.
 
[[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''':  
Line 8: Line 9:
  
 
'''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

AI.png

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:

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

Read an UDD variable:


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