sgs_EvalFile [function]
SGSRESULT sgs_EvalFile( sgs_Context* C, const char* filename )
Compiles and executes a file containing script text or bytecode, leaving the return values on stack and returning their count.
- To ignore return values, use sgs_ExecFile.
Error codes:
- SGS_ECOMP: compiler error
- SGS_EINVAL: passed data was not recognized
- SGS_ENOTSUP: attempted to load a binary (no additional error is printed)