- Nov
- 4
- 0
Hello,
the following batch file should count up the seconds from 1 to 5. This worked fine with TCC version 13.
However, in the current TCC version 28 build 18, some nonsense is output instead. Decisive are the 5 output lines in the middle. They should be 1,000 2,000 3,000 4,000 and 5,000. (German output, therefore comma instead of dot.) But look here:
("Stoppuhr 1 an / aus" means "stopwatch 1 on / off", "Verstrichene Zeit" means "elapsed time".)
The same problem arises if you specify m (for minutes) or h (for hours) in the @timer[] function.
Best regards
Thomas
[Win10 Pro, x64, version 21H2]
the following batch file should count up the seconds from 1 to 5. This worked fine with TCC version 13.
Code:
@echo off
*setlocal
*unalias *
cls
echo.
timer /1 on
echo.
do 5
delay 1
echo %@timer[1,s]
enddo
echo.
timer /1 off
However, in the current TCC version 28 build 18, some nonsense is output instead. Decisive are the 5 output lines in the middle. They should be 1,000 2,000 3,000 4,000 and 5,000. (German output, therefore comma instead of dot.) But look here:
("Stoppuhr 1 an / aus" means "stopwatch 1 on / off", "Verstrichene Zeit" means "elapsed time".)
The same problem arises if you specify m (for minutes) or h (for hours) in the @timer[] function.
Best regards
Thomas
[Win10 Pro, x64, version 21H2]