By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now![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
I didn't write the example in the user's guide...Echoing the result of @LUA is kind of pointless,
That doesn't agree with what JQS observed. Why wasn't "0" echoed in his first example? And I would have expectedEchoing 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.
TCC: Unknown command "0"