- Aug
- 30
- 1
Hello
Prior to version 18, the following batch file snippet would display 1, 2, 3 on seperate lines. With version 18.32 however, only the first line is printed. If I change the condition to "1 EQ 1" then all three lines are printed.
I've tried this with TCC-13 and all three lines are printed, as I would have expected.
Is this the expected behaviour, or is this a regression in version 18?
@ECHO OFF
FOR %a IN (1 2 3) DO (
ECHO %a
IFF 1 EQ 0 THEN
ECHO.
ENDIFF
)
Thank you!
Chris
Prior to version 18, the following batch file snippet would display 1, 2, 3 on seperate lines. With version 18.32 however, only the first line is printed. If I change the condition to "1 EQ 1" then all three lines are printed.
I've tried this with TCC-13 and all three lines are printed, as I would have expected.
Is this the expected behaviour, or is this a regression in version 18?
@ECHO OFF
FOR %a IN (1 2 3) DO (
ECHO %a
IFF 1 EQ 0 THEN
ECHO.
ENDIFF
)
Thank you!
Chris