How to: |
Reference: |
A variable is a named storage location capable of containing a certain type of data that can be modified during program execution. You also create variables as part of a class definition or function.
Maintain Data variables have four attributes:
The New Variable dialog box is displayed.
This variable is global, meaning it is available to any code written in this procedure. To use it in another procedure, you must pass it to the other procedure.
For more information, see the WebFOCUS App Studio Maintain Data Language Reference content.
This dialog box includes the following options:
Contains the name of the variable, argument, or return value you are specifying.
Contains the data type of the variable or argument or return value you are specifying. This information can be entered directly in the field, you can select a recently used data type from the drop-down list, or you can use the ellipsis button to open the Type Wizard. For more information on the Type Wizard, see Using the Type Wizard.
Note: The Type Wizard does not create specifications for the following data types: date-time, packed-decimal, and text. For more information on specifying packed-decimal or text, see the Describing Data With WebFOCUS Language content.