Tutorial Chapter 2: Using BDL |
BDL programs are made up of a single module, or modules, containing the program functions. You can compile and execute programs in Genero Studio or use command line tools if you prefer.
The Execute option in the Genero Studio Project view will compile and link files in the specified application node if necessary before executing the application. You can also compile individual modules or build an application (compile and link files) as independent steps.
To compile and execute the simple program in Genero Studio:
Figure 1. Using the Execute option to compile and execute the simple program
The following tools can be used to compile and execute the simple program from the command line.
fglcomp simple.4gl
fglrun simple.42m
1. You can compile and run a program without specifying the file extensions:
fglcomp simple fglrun simple
fglcomp -M simple && fglrun simple