set environment variable

rhoelle

New Member
Is there a way to temporarily set and environment variable? Basically the opposite of OS-GETENV

Thanks,
Rick
 

TomBascom

Curmudgeon
Sorry, OS-PUTENV() only exists in the i4GL (the imaginary 4GL).

You could, perhaps, call the external C-library function putenv() to do it. But that seems like a lot of work.
 

rhoelle

New Member
Thanks Tom,
I ended up using the putenv() function in PHP. Worked like a champ. I just thought it would be nice to do it directly in the .p code.

Rick
 

Casper

ProgressTalk.com Moderator
Staff member
I wonder when the new iABL will be available to us, I think we have more stuff we would like to have there.... :awink:

Casper.
 
Top