Actions

Difference between revisions of "Wudd"

From Zenitel Wiki

(See also)
(Example)
Line 8: Line 8:
 
* value:  32 bit value (16 bit value before AMC 9.03)
 
* value:  32 bit value (16 bit value before AMC 9.03)
  
===Example===
+
===Examples===
 
  WUDD 8 4321          - ''Write value 4321 to variable 8''
 
  WUDD 8 4321          - ''Write value 4321 to variable 8''
 
  WUDD %1.phy %2.dir    - ''Write the directory number of the 'Related To' station to the location identified<br>                        by the physical number of the event 'Owner'''
 
  WUDD %1.phy %2.dir    - ''Write the directory number of the 'Related To' station to the location identified<br>                        by the physical number of the event 'Owner'''

Revision as of 15: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. In order to write to an UDD in another exchange via AlphaNet, the data command $WUDD must be used.

Syntax

WUDD index value

Write value to UDD at the location index.

  • index: 0 – 6000 ( 0 - 600 before AMC 9.01)
  • value: 32 bit value (16 bit value before AMC 9.03)

Examples

WUDD 8 4321           - Write value 4321 to variable 8
WUDD %1.phy %2.dir    - Write the directory number of the 'Related To' station to the location identified
by the physical number of the event 'Owner'

See also

Applications were UDD is used:

Related articles:

  • Data message to write to UDD: $WUDD
  • Macro to read UDD: %udd
  • Variable for text string: tmp


Back to Event_Handler#Built-In Action Commands.