DO variable left with empty value

May 20, 2008
12,331
134
Syracuse, NY, USA
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?
 

Similar threads