Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1689

Function @timer[] does not work as required

$
0
0
Hello,

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:
TCC.jpg...

Read more

Viewing all articles
Browse latest Browse all 1689

Trending Articles