14. Adding Other Components to Your Application : Macro Variables : Create a Macro Variable
 
Share this page                  
Create a Macro Variable
You can create macro variables for the following components using the Macro Variable Editor, which you can access from their respective editors:
User frames—Frame Editor
Ghost frames—Ghost Frame Editor
Frame templates—Frame Template Editor
User classes—User Class Editor
4GL procedures—4GL Procedure Editor
You can also change the values of an existing macro variable in the Macro Variable Editor, which you access from the Frame Editor.
To create a macro variable or change the values of an existing macro variable
1. Open the desired component in its editor.
2. Click Tools, Macro Variables.
Workbench displays the Macro Variable Editor. For example:
3. Enter a name, value, and optional Short Remark (comment) for each macro variable you want to create, or edit this information for existing macro variables.
For descriptions of each macro variable property, see Macro Variable Properties (see Macro Variable Properties).
4. Save the macro variable by selecting the appropriate command on the File menu.