Grass Valley Xstudio Vertigo Suite v.4.10 User Manual
Page 282
Xstudio User Manual
10-17
Adding logic to control objects
3.
Double-click one of the listed functions at right to make it display in the field in the upper
portion of the dialog box.
Function
Description
LOOKUP
LOOKUP(<string>,<lookupTable>)
A string operator that applies a lookup table to the contents of an object.
Replace the expression’s generic components as follows:
<string>
- The object name or literal string.
<lookupTable>
- The lookup table name (must be in quotation marks).
Example:
LOOKUP(Control:Textbox1, “Weather”)
UCASE
UCASE(<string>)
A string operator that makes the contents of an object display in uppercase.
Replace <string> with the object name or literal string.
Examples:
UCASE(Control:Textbox2)
UCASE(“hello”)
LCASE
LCASE(<string>)
A string operator that makes the contents of an object display in lowercase.
Replace <string> with the object name or literal string.
Examples:
LCASE(Control:Textbox3)
LCASE(“Hello”)
&
(<string>)&(<string>)
A string operator that concatenates two strings. Replace <string> with the
object or literal string.
Examples:
Control:Textbox3 & “%”
Control:Textbox3 & Control:Textbox4
SQRT
SQRT(<n>)
A math operator that calculates the square root of a number. Replace <n>
with the number to be calculated.
Example:
SQRT(100), SQRT(Control:Textbox4)