Fixed @Lua does not behave as documented

  • This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
#4
Ah, so this relies on PerlScript, eh? I have never installed it. I'd always thought this kind of problem with Perl pertained to some weirdness with ActiveState's Perl (which is the only version I've used).
 
#6
Now I get this
Code:
[C:\BIN\JPSoft\TCMD20] 11:04:16 $ echo %@lua[print 'foo']
foo
ECHO is OFF

[C:\BIN\JPSoft\TCMD20] 11:04:27 $ %@lua[print 'foo']
foo
 
#9
Echoing the result of @LUA is kind of pointless, as it will always return 0 unless there's an internal Lua error, in which case you'll get an error message and the ECHO will never be executed.
That doesn't agree with what JQS observed. Why wasn't "0" echoed in his first example? And I would have expected
Code:
TCC: Unknown command "0"
from his second example.