Loadfile

From OpenEUO
Revision as of 17:07, 7 October 2010 by 76.184.213.234 (Talk) (Created page with " 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 env...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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.