Fix error handling in Lua function run(). Made the samples use run() instead of dofile()
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1989 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -12,12 +12,10 @@
|
||||
-- You may access these functions in your own scripts by loading this library,
|
||||
-- just add the follwing line as one of the first instructions:
|
||||
--
|
||||
-- require("dawnbringer_lib")
|
||||
--
|
||||
-- or
|
||||
--
|
||||
-- dofile("dawnbringer_lib.lua")
|
||||
-- run("dawnbringer_lib")
|
||||
--
|
||||
-- If the script is not in the same directory, use a relative path
|
||||
-- like run("../libs/dawnbringer_lib.lua")
|
||||
--
|
||||
-- Note that the functions must be called with the full library object-name, "db.function_name..."
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user