(load path) path: a str returns any type
F
Evaluates the contents of a file.
path
must refer to a text file which contains valid GameLisp source code, relative
to the current working directory. (For a Rust program, the working directory is usually
the directory which contains your Cargo.toml
file.)
This function reads in that source file, parses it, and
evaluates each parsed form in the same toplevel scope. It returns the
result of evaluating the last form, or #n
if no forms were present in the file.
In a sandboxed Runtime
, this macro is
not defined.
See also: require