Create and initialize the new variable
Display Figure 5.
To create and initialize the new variable:
- Enter the name of the new variable in the text field. Good
programming practice says to begin the name with a lower case character, use
camel-case format (see the variable names in Figure 5), and make the
variable name meaningful.
- Specify the type of the new variable by clicking the appropriate radio
button, and possibly selecting a type from the pull-down list (in case
you click the radio button labeled other).
- Enter the initial value in the field showing <None> in Figure 6.
(You can optionally skip this step and accept the default initial value.)
- Click the OK button.