• Parameter display -- is this a bug?

    From Stan Brown@21:1/5 to All on Thu Apr 21 07:21:48 2022
    I have a batch file that contains these lines:
    echo %%* = '%*' [%*] "%*"
    echo %%*%% = '%*%' [%*%] "%*%"
    echo %%$ = '%$' [%$] "%$"

    I call the batch file in this way:
    showargs a b "c=d" e
    and those lines display the following:
    %* = '*' [*] "a b "c=d" e"
    %*% = '*' [*] "*"
    %$ = 'a b "c=d" e' [a b "c=d" e] "a b "c=d" e"

    In other words, in the first line, %* inside single quotes or
    brackets returns the character *, _not_ the full command tail as
    documented. "%*" does return the command tail, quoted.

    Is this a bug, or are ' ' and [ ] around %* supposed to be special in
    some way? As you can see, they are _not_ special around %$, but I
    can't use %$ because the batch file uses SHIFT.

    I have Windows version 10.0.19043.1645. the "ver" command in TCCLE
    doesn't display anything, but %_4ver displays 12.10.

    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Klaus Meinhard@21:1/5 to All on Fri Apr 22 10:27:59 2022
    Am 21.04.2022 um 16:21 schrieb Stan Brown:

    I have Windows version 10.0.19043.1645. the "ver" command in TCCLE
    doesn't display anything, but %_4ver displays 12.10.

    I doubt that you''ll see much response here. Yours is the first posting
    here in about a year.

    Try to update tcc/le to the most recent version (14.09) and see if your
    trouble persists.

    If it does, go to the forums of jpsoft.com. There's a tcc/le support
    forum, and ask your questions there. There are some very helpful people.


    --
    Mit freundlichen Grüßen,

    * Klaus Meinhard *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Klaus Meinhard@21:1/5 to All on Fri Apr 29 11:05:19 2022
    Am 29.04.2022 um 10:49 schrieb Stan Brown:


    (I'm always nervous about version upgrades, because sometimes
    features are removed and things stop working. Firefox and Thunderbird
    are the worst offenders in this. But when I upgraded TCC/LE to 12.10,
    a couple of years ago, some feature stopped working. I no longer
    remember what it was, but I know it was deliberate and not a bug,
    because it was reflected in the help file.)


    You can install the new version alonside the older one without problems.
    So you could read the new help file to decide which version to keep.

    However, don't forget my advice to seek competent help in the JP
    Software forum...
    --
    Mit freundlichen Grüßen,

    * Klaus Meinhard *

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to Klaus Meinhard on Fri Apr 29 01:49:17 2022
    On Fri, 22 Apr 2022 10:27:59 +0200, Klaus Meinhard wrote:

    Am 21.04.2022 um 16:21 schrieb Stan Brown:

    I have Windows version 10.0.19043.1645. the "ver" command in TCCLE
    doesn't display anything, but %_4ver displays 12.10.

    I doubt that you''ll see much response here. Yours is the first posting
    here in about a year.

    Try to update tcc/le to the most recent version (14.09) and see if your trouble persists.

    If it does, go to the forums of jpsoft.com. There's a tcc/le support
    forum, and ask your questions there. There are some very helpful people.

    Thanks, Klaus. I know that's the logical thing to do.

    (I'm always nervous about version upgrades, because sometimes
    features are removed and things stop working. Firefox and Thunderbird
    are the worst offenders in this. But when I upgraded TCC/LE to 12.10,
    a couple of years ago, some feature stopped working. I no longer
    remember what it was, but I know it was deliberate and not a bug,
    because it was reflected in the help file.)

    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Stan Brown@21:1/5 to Klaus Meinhard on Fri Apr 29 11:05:55 2022
    On Fri, 29 Apr 2022 11:05:19 +0200, Klaus Meinhard wrote:

    Am 29.04.2022 um 10:49 schrieb Stan Brown:


    (I'm always nervous about version upgrades, because sometimes
    features are removed and things stop working. Firefox and Thunderbird
    are the worst offenders in this. But when I upgraded TCC/LE to 12.10,
    a couple of years ago, some feature stopped working. I no longer
    remember what it was, but I know it was deliberate and not a bug,
    because it was reflected in the help file.)


    You can install the new version alonside the older one without problems.
    So you could read the new help file to decide which version to keep.

    However, don't forget my advice to seek competent help in the JP
    Software forum...

    I haven't forgotten. But I take your point that I shouldn't ask about
    a bug(*) in an old version without at least trying the latest version
    to see if the bug exists there.

    (*) Assuming it _is_ a bug, and not intentional behavior that I was
    unable to find in the help file.

    --
    Stan Brown, Tehachapi, California, USA https://BrownMath.com/
    Shikata ga nai...

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)