You can add new POINT and BLOCK areas to a template.
-
To add a POINT or BLOCK section, determine where the POINT or BLOCK should be in the generated
code and modify the (Tcl) file that corresponds to the generated file (4gl).
To better understand what is happening during the build of the program, turn on
verbose mode using . You will be able to see what tcl files are being used and when. This can help you identify
which tcl file you need to modify.
-
Add a new POINT or BLOCK section. Be sure to give the POINT or BLOCK a unique name that is not
already used by another POINT or BLOCK.
-
Surround your added POINT or BLOCK area using the comment character of the targeted source code
(such as "{" and "}" characters in Genero). Otherwise, the generated source code will not compile.
-
Open your project and rebuild.
-
To revert a change made in the source code, see Revert a change to a POINT or BLOCK.