Welcome! Log In Create A New Profile

Advanced

Enhance SysEnvironment to leave out the identifier in result

Posted by Sebastian Arnold 
Sebastian Arnold
Enhance SysEnvironment to leave out the identifier in result
August 05, 2011 01:57PM
This is what you get with SysEnvironment() in WX16:

res is string = SysEnvironment( "temp" )
//res results in "temp=C:\temp"

I vote for an additional parameter like this, to leave out the identifier in the result string:

res is string = SysEnvironment("temp",false) -> "C:\temp"

Sebastian
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: