Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Integers in the script: no problem
Strings: doesn't work.
for example
This doesn't work:
set vDAP = 'DEV'
if $(vDAP) = 'DEV' then
set vServer = 'Devserver';
end if
This works:
set vDAP = 1
if $(vDAP) = 1 then
set vServer = 'Devserver';
end if
Suggestions welcome!
set vDAP = 'DEV'
if '$(vDAP)' = 'DEV' then
set vServer = 'Devserver';
end if
i.e. use single quotes when expanding the text variable
set vDAP = 'DEV'
if '$(vDAP)' = 'DEV' then
set vServer = 'Devserver';
end if
i.e. use single quotes when expanding the text variable
thanks!