The macros code editor puts time-saving information at your fingertips, through its Code Completion feature.
Pressing F2 to display System Variables
To insert the name of a variable at the cursor position, press F2. A list of all available variables appears, including the ones you defined and the system variables.
Select the one you wish to use and press ENTER. If you are not sure about some system variable, select it and press F1 to get specific help on system variables.
Pressing F3 to display System Functions
To insert the name of a built-in function, place your cursor at the insertion point and press F3. Again, to get help on a particular function, select it in the list and press F1.
When you insert a function using code completion, the function name is inserted along with the list of the parameters that this function expects.
If you place your cursor on any of the parameters, the use of F2 or F3 will only bring up a list of variables or functions of the corresponding data type, as shown above for variables, and below for functions.
Note that in all the above cases, you can have the inserted variable or function replace some previous text, by selecting some text before pressing F2 or F3. If no text is selected, then the variable or function will be inserted where the cursor was.
See also: system variables and built-in functions.
Topic 108238, last updated on 18-Apr-2020