Loadfile

From OpenEUO
Revision as of 18:51, 7 October 2010 by 76.184.213.234 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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