Environment Variables

BlitzMax Forums/BlitzMax Beginners Area/Environment Variables

_PJ_(Posted 2016) [#1]
I had a look over the available docs and Help 'manual', but coudl find no commands to retrieve the Environment Varables - I understand that BMax can compile for other OS (and have no experience on how MACOS or wahtever uses environemtn variables if at all) but given the availablility to integrate more directly with the dll libraries anduser/kernel etc. modules within BMax installation, I would think there should be a fairly straightforward means to acquire the content of a Windows environment variable?
(If it matters, I intend ONLY to compile for Windows based computers)


Henri(Posted 2016) [#2]
Hi,

you can use
Print getenv_("TEMP")

-Henri