envvar naming
Posted: Sun Nov 08, 2015 4:29 pm
Hi devs,
Are envvars limited to letters when using them in DOS scripts?
I tried to distinguish some vars by using a "." and the scripts started to act ill.
Example:
This script works as expected.
While this script doesn't...
Just want to know if it' s meant to be that "special" chars aren't allowed in envvars or if it's a limitation or maybe even a regression?
Thanks a lot
Are envvars limited to letters when using them in DOS scripts?
I tried to distinguish some vars by using a "." and the scripts started to act ill.
Example:
This script works as expected.
Code: Select all
requestchoice >ENV:rcnumtest "Test" "Test" "One" "Null/Cancel"
if $rcnumtest EQ 1
echo "One"
SKIP Finish
endif
echo "Null"
LAB Finish
Code: Select all
requestchoice >ENV:rcnum.test "Test" "Test" "One" "Null/Cancel"
if $rcnum.test EQ 1
echo "One"
SKIP Finish
endif
echo "Null"
LAB Finish
Thanks a lot