NewsArchive
12-10-2007, 04:45 AM
Friedrich,
It seems like the string assignment is doing an evaluation type function.
I'm not sure when this came in - but I've picked it up after upgrading on
Friday to 6.7.
Basically it manifests when we modify the red file. We read each line, test
if the required path is in the line, and then append where necessary.
If I read a line as follows:
tp?=%ROOT%\Template
append the 3rdparty path to the string:
Var: %REDDIRENTRY%
Value (append)= ; O:\Clarion6\3rdParty\Template
and then write it back in, it ends up:
tp?=\Template ; O:\Clarion6\3rdParty\Template
Hence appearing to evaluate %ROOT% to a variable (which contains nothing, as
it is not a valid script variable in my case). I've rolled back to the
install that I have on disk (which I think was possibly the version we were
on previously - 6.6 2016) for the meantime - but would like to keep up with
the latest and greatest. If there's a script change I need to make in order
to keep up with the new improvements, am happy to do that as well.
Also when assigning a string (in a script):
Var: %REDDIRENTRY%
Value: %%ROOT%%
It comes out as a blank too.
--
Geoff (Capesoft)
CapeSoft - where the computer obeys you!!
www.capesoft.com
http://www.capesoft.com
It seems like the string assignment is doing an evaluation type function.
I'm not sure when this came in - but I've picked it up after upgrading on
Friday to 6.7.
Basically it manifests when we modify the red file. We read each line, test
if the required path is in the line, and then append where necessary.
If I read a line as follows:
tp?=%ROOT%\Template
append the 3rdparty path to the string:
Var: %REDDIRENTRY%
Value (append)= ; O:\Clarion6\3rdParty\Template
and then write it back in, it ends up:
tp?=\Template ; O:\Clarion6\3rdParty\Template
Hence appearing to evaluate %ROOT% to a variable (which contains nothing, as
it is not a valid script variable in my case). I've rolled back to the
install that I have on disk (which I think was possibly the version we were
on previously - 6.6 2016) for the meantime - but would like to keep up with
the latest and greatest. If there's a script change I need to make in order
to keep up with the new improvements, am happy to do that as well.
Also when assigning a string (in a script):
Var: %REDDIRENTRY%
Value: %%ROOT%%
It comes out as a blank too.
--
Geoff (Capesoft)
CapeSoft - where the computer obeys you!!
www.capesoft.com
http://www.capesoft.com