1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DO variable left with empty value

Discussion in 'Support' started by vefatica, Aug 26, 2010.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    7,792
    Likes Received:
    29
    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?
     

Share This Page