Environment variables / Genero environment variables |
Defines the graphical front-end form the application.
In GUI mode, FGLSERVER defines the hostname and port of the graphical front end the runtime system will connect to in order to display application forms.
The values for the FGLSERVER environment variable must be specified with the following syntax:
{hostname|ipaddress}[:servnum]
The servnum parameter defines the front end server number (first is 0, second is 1, and so on). This defines implicitly the TCP port number the front end is listening to, as an offset for the base port 6400. For example, FGLSERVER=cobra:1 will use the TCP port 6401 (6400 + 1). This parameter is optional, when not specified, it defaults to zero (i.e. port 6400).