Creating a new variable
<new variable>
entry at the end of the Variable
list box. The AME creates a new variable and
assigns to it some initial characteristics that you should modify
to fit your needs. The initial values are:
- An initial name (such as
$a1$
). - An initial type (
string
). - An initial value, which depends on the type (see Default initial values for variables).
- In the Name input field, type the
name
$intScreenCount$
. - In the Type list box, select the
integer
data type. - In the Initial Value field, type 1.
Besides the Variables tab, the AME provides access, in several convenient locations,
to a popup window for creating new variables. For example, in the
Variable update action, the Name list
box contains not only all the names of variables that you have already
created but also a <New Variable>
entry. Click this
entry to bring up the popup window for creating a new variable. Variables
created using this popup window are equivalent to variables created
in the Variables tab.
For information about creating a variable in the Source view, see Creating a variable.