Setting environment variables for projects and programs

 

Besides configuring the environment in general by changing the configuration files - inet.env, env.properties, and environ.bat, - you can also specify the necessary environment variables for separate projects and programs:

 

 

Compilation and deployment environment

Runtime environment

4gl project

LyciaStudio

4gl program

fgl_setenv()

fgl_putent()

 

You can specify the compilation and deployment environment for your projects and separate programs from LyciaStudio.

 

To specify the compilation and deployment environment for your project, please follow these steps.

 

Step 1

Right-click the necessary project and go to Properties in the context menu (or press Alt + Enter):

 

 

Step 2

Open the Build Environment Variables page (by default, the list is empty):

 

 

Step 3

Choose one of the possible options (press the option text below to get the details):

 

 

New - to add a new environment variable,

Select - to select one of the system environment variable set on your machine,

Edit - to edit values of the already set environment variables,

Remove - to remove a no-longer-needed environment variable.

 

Step 4

All your changes will appear in the table:

 

 

 

To specify the compilation and deployment environment for a 4gl program, please follow these steps.

 

Step 1

Right-click the necessary project and go to Properties in the context menu:

 

 

Step 2

Open the Environment Variables page (by default, the list is empty):

 

 

Step 3

Choose one of the possible options (press the option text below to get the details):

 

 

New - to add a new environment variable,

Select - to select one of the system environment variable set on your machine,

Edit - to edit values of the already set environment variables,

Remove - to remove a no-longer-needed environment variable.

 

Step 4

All your changes will appear in the table:

 

 

 

Runtime environment can be configured only for separate applications but not for a project as a whole.

 

To specify the runtime environment for a 4gl program, use the following functions:

§       fgl_setenv()

§       fgl_putent()