Changing the ENV
Posted in 1995
For all who are curious, how do you alter the environment while running a 4gl program? I've tried this: MAIN DEFINE arg_str CHAR(20) LET arg_str = fgl_getenv("ROBS_ENV") DISPLAY "arg_str = ", arg_str CLIPPED RUN "ROBS_ENV=hello ; export ROBS_ENV" LET arg_str = fgl_getenv("ROBS_ENV") DISPLAY "arg_str = ", arg_str CLIPPED END MAIN and both displays are blank. Any clues? Robert Minter Data Systems Support \\\\\\_/// Senior Software Engineer A Client Technologies Company ( _ _ ) E-Mail: rob@dssmktg.com Tel: 714.771.0454 (| ^ |) #include <disclaimer.h> Fax: 714.771.3028 \\`-'/ De Colores - Emmaus OC-13 SURF'S UP \\_/