R rhoelle New Member Feb 14, 2008 #1 Is there a way to temporarily set and environment variable? Basically the opposite of OS-GETENV Thanks, Rick
Is there a way to temporarily set and environment variable? Basically the opposite of OS-GETENV Thanks, Rick
TomBascom Curmudgeon Feb 14, 2008 #2 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.
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.
R rhoelle New Member Feb 14, 2008 #3 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
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
TomBascom Curmudgeon Feb 14, 2008 #4 I agree completely. It should have been added when os-getenv() was added.
C Casper ProgressTalk.com Moderator Staff member Feb 15, 2008 #5 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.
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.