GWA APIS
The Genero Web Application API is a package included with GWA installations, offering modules like gwa.location and gwa.app to assist with application development. Modules can be imported using IMPORT FGL instructions, and the FGLLDPATH environment variable may need configuration to locate them during compilation and runtime.
The GWA API package consists of two modules:
Use
IMPORT FGL
instructions to import modules in your GWA program. For example:IMPORT FGL gwa.app
IMPORT FGL gwa.location
Finding modules with FGLLDPATH
For compilation and at runtime, you may need to set the FGLLDPATH environment variable to find GWA API package modules:
- If GWA is installed in FGLDIR:
-
On UNIX™:
export FGLLDPATH=$FGLLDPATH:$FGLDIR/lib/gwa
-
On Windows®:
set FGLLDPATH=%FGLLDPATH%;%FGLDIR%\lib\gwa
-
- If GWA is installed in its own directory:
-
On UNIX:
export FGLLDPATH=$FGLLDPATH:gwa-install-dir/lib
-
On Windows:
set FGLLDPATH=%FGLLDPATH%;gwa-install-dir\lib
-