DO variable left with empty value

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#1
Code:
v:\> do xxx in /L a b c (echo %xxx)
a
b
c

v:\> set x*
xxx=

v:\> echo **%xxx**
****
And though xxx is defined (albeit with no value),

Code:
v:\> if defined xxx (echo yes) else (echo no)
no
WAD?