Add additional variables

At the end of each DEFINE statement in the 4gl file there is a special POINT section that allows you to define additional variables that might be required by the code you have added to the application.

The scope of the variable is determined by the location in the 4gl file of the DEFINE statement.

Figure 1. Modular scope variable

{<POINT Name="define">}
DEFINE myvar STRING
{</POINT>}

Figure 2. Local scope variable

{<POINT Name="fct.uiOpenForm.define">}
DEFINE myvar STRING
{</POINT>}