[14 Aug 2009] setting an environmental variable to a Hollywood variable value.
Posted: Sat Jun 13, 2020 5:32 pm
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 14 Aug 2009 21:05:03 +0200
Hello, I don't succeed using the execute (setenv MyEnvVar myHWVar$) or variants of this to set the environmental variable MyEnvVar
Any way to do this ?
Thanks
Joseph
Hello, I don't succeed using the execute (setenv MyEnvVar myHWVar$) or variants of this to set the environmental variable MyEnvVar
Code: Select all
Execute("Setenv .mytest myfile$ ") ; .mytest is set but it contains the
string myfile$ not its content
; Execute("Setenv .mytest" myfile$ ) ; closing bracket expected
; Execute(Setenv .mytest myfile$ ) ; closing bracket expected
cdstr$ = "setenv .mytest" .. myfile$
Execute(cdstr$) ; same result as first try
Thanks
Joseph