Here's the deal. This:
works as I would hope, producing, for instance:
This:
does not, producing only:
As you can see, no actual time(s) are output.
The only differences between the two are the spaces between "/2" and the open parenthesis.
Code:
Do StartTime In /P Timer On /2()
:: Something that takes some time...
Do EndTime In /P Timer Off /2()
@Echo Start Time: %@Word[3,%StartTime]
@Echo End Time: %@Word[3,%EndTime] Elapsed Time: %@Word[5,%EndTime]
Code:
Start Time: 12:08:22
End Time: 12:08:24 Elapsed Time: 0:00:02.06
This:
Code:
Do StartTime In /P Timer On /2 ()
:: Something that takes some time...
Do EndTime In /P Timer Off /2 ()
@Echo Start Time: %@Word[3,%StartTime]
@Echo End Time: %@Word[3,%EndTime] Elapsed Time: %@Word[5,%EndTime]
Code:
Start Time:
End Time: Elapsed Time:
The only differences between the two are the spaces between "/2" and the open parenthesis.