YOUR ACCOUNT

Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
FF crash triggered by

function prepare()
error(LUA_CPATH)
end;

what is the default search path for require?
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Nevermind.
I use dofile("c:\\test.lua") to load external script. Functions from that script can then be used in main script in FF. Note that this only works in unsafe mode, and while the lua 5.1 reference states that "In case of errors, dofile propagates the error to its caller (that is, dofile does not run in protected mode)" this is not working .. error("message") in external file will NOT make it to message log..
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Thanks for reporting — the devs are fixing the error handler smile:)
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,718 Registered Users
+8 new in 7 days!

153,540 Posts
+9 new in 7 days!

15,348 Topics
+71 new in year!

Create an Account

Online Users Last minute:

5 unregistered users.