Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by tkoskine

  1. T

    Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) [SOLVED]

    This seems to be fixed in TCC 28.02.18. Internal lua command correctly reports version 5.4.3.
  2. T

    Take Command 28: Lua reports version 5.4.0 (5.4.3 expected) [SOLVED]

    Take Command 28 release notes say that LUA was updated to version 5.4.3. However, the internal lua command seem to report version 5.4.0. > which lua lua is an internal command > lua Lua 5.4.0 Copyright (C) 1994-2019 Lua.org, PUC-Rio > ^Z > ver TCC 28.00.10 x64 Windows 10 [Version...
  3. T

    Elapsed time format in prompt changed in TCC 25

    Thanks. Elapsed time formatting now works as expected.
  4. T

    Elapsed time format in prompt changed in TCC 25

    Yes, same problem there. TCC v25: > prompt $p $= $g c:\work 11806 >timer Timer 1 on: 18.22.46 c:\work 11985 >echo foo foo c:\work 12769 >timer off Timer 1 off: 18.22.50 Elapsed: 0.00.04,11403 c:\work 12337 >setdos /g. c:\work 0.012 >timer Timer 1 on: 18.22.58 c:\work 0.012 >echo foo foo...
  5. T

    Elapsed time format in prompt changed in TCC 25

    One more example, with options: TCC v24: > prompt $p $= $g c:\work 0.00.00.01 > c:\work 0.00.00.56 > c:\work 0.07.01.59 >setdos /g, c:\work 0.00.00,01 >setdos /g. c:\work 0.00.00.00 >setdos /g- c:\work 0.00.00,00 >setdos /gx c:\work 0.00.00,00 >setdos /gfoo c:\work 0.00.00,00 >setdos /g...
  6. T

    Elapsed time format in prompt changed in TCC 25

    > I am running Finnish version of Windows 10, if that matters. Time and decimal settings in TCC seem to matter. I see the above behaviour if I set Localication /Time to Country, Decimal to Auto and Thousands to Auto. Setting Decimal and Thousands to "Period" I get same view as vefatica: >...
  7. T

    Elapsed time format in prompt changed in TCC 25

    Same problem with simpler prompt: v24: > prompt $p $= $g c:\work 0.00.00,00 > c:\work 0.00.00,82 > c:\work 0.00.01,15 > c:\work 0.00.01,41 > c:\work 0.00.11,19 > c:\work 0.00.11,37 >ver TCC 24.02.50 x64 Windows 10 [Version 10.0.18362.295] c:\work 0.00.00,00 > v25: > prompt $p $= $g...
  8. T

    Elapsed time format in prompt changed in TCC 25

    Hi, I upgraded from Take Command / TCC v24 to v25 and noticed that formatting (and value calculation) of elapsed time ($=) in prompt has changed. Old format in v24 was "1.22.33,44". New format seems to be "1223344". In addition, the value does not make sense. Help in v25 says = The elapsed...
  9. T

    Returning a value from internal Lua scripts to TCC

    Ok, thanks. I was looking for a way to return error value from the script so that the Lua scripts can be used with tabcomplete command. Passing the data via variables works for my own code, but not for tabcomplete (unless I missed some tabcomplete detail). My work-around for now is use .btm...
  10. T

    Returning a value from internal Lua scripts to TCC

    How does one return a value from internal Lua scripts back to TCC? I am trying to use Lua scripts for TCC tab completion purposes, but the script invocation seems to return 0 always. Here is example script: -- Mercurial (hg) tab completion for Take Command -- -- Install the script with...
Back
Top