GetEnvironmentVariable
BlitzMax Forums/BlitzMax Programming/GetEnvironmentVariable Ah, now I see when I post a thread that the forum has assumed the 'at' symbol was an email address. I just need to remove the slashes that I had seen in other people's code. :P
Totally lost.
Hehe. Basically I'd been trying to use Gellyware's Armadillo functions that use GetEnvironmentVariable, but because it has an @ symbol in the code the forum treats it as an email address and adds slashes to each end. So I was trying to compile code with slashes which shouldn't have been there.
The last solution in this thread from Yan works fine:
http://www.blitzmax.com/Community/posts.php?topic=64930#724784
http://www.blitzmax.com/Community/posts.php?topic=64930#724784
Thats much clearer, why cant you just use getenv_()?
Actually GetEnviromentVariable() seems more complex..
Actually GetEnviromentVariable() seems more complex..