Difference between revisions of "Dofile"
From OpenEUO
(Created page with " dofile (filename) Opens the named file and executes its contents as a Lua chunk. Returns all values returned by the chunk. In case of errors, dofile propagates the error to its...") |
|||
Line 2: | Line 2: | ||
Opens the named file and executes its contents as a Lua chunk. Returns all values returned by the chunk. In case of errors, dofile propagates the error to its caller (that is, dofile does not run in protected mode). | Opens the named file and executes its contents as a Lua chunk. Returns all values returned by the chunk. In case of errors, dofile propagates the error to its caller (that is, dofile does not run in protected mode). | ||
+ | |||
+ | |||
+ | [[Dostring]] | ||
+ | |||
+ | [[Loadfile]] | ||
+ | |||
+ | [[Loadstring]] |
Latest revision as of 18:52, 7 October 2010
dofile (filename)
Opens the named file and executes its contents as a Lua chunk. Returns all values returned by the chunk. In case of errors, dofile propagates the error to its caller (that is, dofile does not run in protected mode).