var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: How to set the env variable from the 4gl program.
LET hT = FGL_GETENV("HOSTNAME")
Using above statement we can able to get env variable into 4gl prgs.
I need to set the env variable through the 4gl prg.
I tried the following, it does n't work.
i've the same problem with you.
i know from another forum that we can use fgl_setenv() to set environment
inside 4gl file. but while trying to use it, it's error while compiling the
do you have any suggestion to solve it?
I presume you are using Linux or Unix environment. So you should set one environment variable like this:
it is better to export the variable for using in sub-shells:
Then, on your 4GL program you should define a variable like:
define maq char(20)
On your function use code:
LET maq = FGL_GETENV("MACHINE")
Your variable maq will have the name of your machine, that you can use in the program.
Hope it helps, bye,