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

Status of pseudovariables?

Discussion in 'Support' started by vefatica, Aug 3, 2016.

  1. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,060
    Likes Received:
    30
    The pseudovariable '=' doesn't seem to work any longer. '+' does work. Both have help pages. What's their status?
     
  2. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,026
    Likes Received:
    84
    Both have been deprecated for the past three or four versions. %= was removed a couple of years ago because of compatibility issues.
     
  3. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,026
    Likes Received:
    84
    Do you have "Expand Pseudovariables" set in your TCMD.INI?
     
  4. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,060
    Likes Received:
    30
    Interesting! I do not have that checked (I never use them). Yet
    Code:
    v:\> echo foo %+ echo bar
    foo
    bar
    And I see (the expected?)
    Code:
    v:\> echo %=foo
    %=foo
    Enabling their expansion has no effect on the %+ behavior mentioned above, but gives this.
    upload_2016-8-7_19-37-26.png
    That first character is the character I see if I "ECHO %@CHAR[12]".

    All this was with v20.
     
  5. vefatica

    Joined:
    May 20, 2008
    Messages:
    8,060
    Likes Received:
    30
    Note: that character in my last example might be a translation. If I select/copy in the console, and paste here, we see:
    Code:
    v:\> echo %=foo
    ♀oo
     
  6. rconn

    rconn Administrator
    Staff Member

    Joined:
    May 14, 2008
    Messages:
    10,026
    Likes Received:
    84
    Pseudovariables have been deprecated for three years and are officially unsupported in v20. They might still appear to work in a few cases, but that could change at any time.
     

Share This Page