Actions

Difference between revisions of "%udd"

From Zenitel Wiki

 
Line 1: Line 1:
{{A}}  
+
{{AI}}  
 
The '''%udd''' macro is used in the [[Event Handler]] to read the value of an [[UDD]] (User Defined Data variable). [[Event_Handler#Formating|Text formatting parameters]] can be added at the end. <br>
 
The '''%udd''' macro is used in the [[Event Handler]] to read the value of an [[UDD]] (User Defined Data variable). [[Event_Handler#Formating|Text formatting parameters]] can be added at the end. <br>
 
From AMC 11.02 also alphanumeric labeling can be used. Alphanumeric labeling will be cleared after reset.
 
From AMC 11.02 also alphanumeric labeling can be used. Alphanumeric labeling will be cleared after reset.

Latest revision as of 09:50, 4 October 2019

AI.png

The %udd macro is used in the Event Handler to read the value of an UDD (User Defined Data variable). Text formatting parameters can be added at the end.
From AMC 11.02 also alphanumeric labeling can be used. Alphanumeric labeling will be cleared after reset.

Syntax

%udd(index)
%udd(label)

Returns the content of UDD at the location index.

  • index: 0 – 6000 ( 0 - 600 before AMC 9.01)
  • label: 1 - 16 characters alphanumeric label, no space, must start with a - z, A - Z. 30 labels available.

Examples

%udd(8)           - Returns the content of UDD variable 8
%udd(%1.phy)      - Returns the content of UDD variable in indexed by the physical number of the event 'Owner'
%udd(myLabel)     - Return string/value of UDD label myLabel. (wudd "myLabel" "Hello World")

See also

Applications were UDD are used:

Related articles:

  • Built-in command to write to UDD: WUDD
  • Data message to write to UDD: $WUDD
  • Variable for text string: tmp


Back to Event_Handler#List_of_macros.