Loadfile

From OpenEUO
Jump to: navigation, search
local f , err = loadfile ([filename])

Loads a chunk from file filename. If there are no errors, returns the compiled chunk as a function; otherwise, returns nil plus the error message. The environment of the returned function is the global environment.


Dofile

Dostring

Loadstring