Eg, save the following code and execute it with Installer:
Code: Select all
(set #test
(getenv "envtest")
)
(message #test)
Code: Select all
setenv envtest ""
Code: Select all
(set #test
(getenv "envtest")
)
(message #test)
Code: Select all
setenv envtest ""
Thanks mate, so it wasn't Installer after all!tonyw wrote:OK, there WAS a problem with IDOS->SetVar() a long time ago, that was fixed.
However, your report has shown up a problem with IDOS->GetVar() reading an empty string and that has now been fixed so that it returns zero rather than (-1). Hopefully the new version of DOS will be released soon, fixing the problem.