14 Oct
2019
14 Oct
'19
7:26 p.m.
Hi,
On 14 Oct 2019, at 21:08, Rudolf Bahr
wrote: 2. But in the case of an not existing file (BBB.lua) the known error message comes up again: "token call, execute: [ctxlua]:8: /home/sam/context-tests/BBB.lua: No such file or directory". This, of course, is true, but shouldn't be mentioned in an error message!
If you do not want the error message, don’t use assert(). You can just do f = io.open(...) If f then ... else ... end Best wishes, Taco