A user-defined variable or a constant can be directly created on the screen of the Layout manager:
1. Select the object type to be created using the button located on the right-hand side of the tool bar:
Constant.
Variable.
2. Then, double-click the work space on the location where the first character of the field is to appear.
A square having the size of one character is displayed; the status bar is replaced with a comment describing the field type currently created and the characters which can be entered (provided that the On-line help option of the Display menu was checked).
For a constant, all characters are allowed.
For a variable, the following characters are allowed.
-
-
- numeric variable: 9;
- alphanumeric variable: z.
-
Just enter the required variable directly on the screen. For numeric variables, you may use:
-
-
- the symbol "." to position the decimal separator,
- and the symbol "," to position the thousand separator,
-
depending on the attributes defined in the "Decimal sign" field in the environment attributes.
3. When the field is filled in, just validate it by pressing the Enter key to create the variable or the constant.
The Esc key is used to cancel the entry.
Note: If the default font and script used by the layout manager do not let you enter your language's special characters, you can specify a font or script of your choice in the ALM_FONT and ALM_SCRIPT parameters in the adeliws.ini file.