Actions

Wudd: Difference between revisions

From Zenitel Wiki

No edit summary
No edit summary
Line 1: Line 1:
[[Event_Handler]] statement - Write User Defined Data.
The '''WUDD''' command is used in the [[Event Handler]] to write a value to [[UDD]] (User Defined Data variable).


Format: '''wudd index value'''
Format: '''WUDD index value'''


Write ''value'' to User Defined Data at the location ''index''. Index = 0 - 6000
Write ''value'' to UDD at the location ''index''. Index = 0 - 6000


Command string action to Write a value to User Defined Data. The value is changed immediately, before the next statement is executed. Can only be used to change values in local exchange.
The value is changed immediately, before the next statement is executed. The WUDD command can only be used to change values in local exchange.


Example:  
Example:  
  wudd 8 4321 - ''Write value 4321 to variable 8''
  wudd 8 4321 - ''Write value 4321 to variable 8''


See DP message [[WRITE_USER_DEF_DATA]] for explanation of the concept. User Defined Data is read with EventHandler macro [[%udd]].
See DP message [[WRITE_USER_DEF_DATA|$WUDD]] for explanation of the concept. User Defined Data is read with Event Handler macro [[%udd]].


Related command: [[tmp statement|tmp]]
Related command: [[tmp statement|tmp]]

Revision as of 13:13, 4 April 2008

The WUDD command is used in the Event Handler to write a value to UDD (User Defined Data variable).

Format: WUDD index value

Write value to UDD at the location index. Index = 0 - 6000

The value is changed immediately, before the next statement is executed. The WUDD command can only be used to change values in local exchange.

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

Back to Event_Handler#Built-In Action Commands.

MediaWiki spam blocked by CleanTalk.