[Bug 27741] Imbricated for loops parameters not expanded correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jul 10 02:55:08 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27741

--- Comment #2 from Frédéric Delanoy <frederic.delanoy at gmail.com> 2011-07-10 02:55:07 CDT ---
(In reply to comment #1)
> @echo off
> for %%i in (X) do (
>     for %%j in (Y) do (
>         call :myFun %%i %%j ))
> 
> gives "%i Y" instead of "X Y"

Hmm... bad copy paste earlier, it should be

@echo off
for %%i in (X) do (
    for %%j in (Y) do (
        echo %%i %%j ))

gives "%i Y" instead of "X Y"

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list