9.3

Table Of Contents
5
Usually the value you assign to a variable comes from either an interactive object or some
kind of calculation.
To assign a value from an interactive object, double-click the object name in the Objects
list, and then double-click a function name in the Functions list. For example, to retrieve
the contents of a Text Box object named MyTextBox, double-click MyTextBox in the
Objects menu, and then double-click Text Object.GetText() in the Functions list.
To assign a value resulting from a calculation, use the appropriate functions from the
Functions list and/or the appropriate operators from the Operators list. For example, to
convert the value stored in the string variable UserName to all capital letters, add
UserName.ToUpperCase() to the expression using the Objects list and the Functions list.
Or, to calculate the combined length of two strings, add String1 + String2 to the editing
area using the Variables list and the Operators list.
6
To verify that you have a valid expression, click Validate. Note that this button merely
checks your expression for syntax; a valid expression is not necessarily an expression that
does what you want it to.
7
Click OK.
A GUIDE TO QUARKXPRESS 9.3 - PLUS EDITION | 361
INTERACTIVE LAYOUTS