Interpreter.evaluateFile

Evaluates a file that can be either binary bytecode or textual source code.

class Interpreter
ScriptAny
evaluateFile
(
in string pathName
,
bool printDisasm = false
)

Parameters

pathName string

the location of the code file in the file system.

Return Value

Type: ScriptAny

The result of evaluating the file, undefined if no return statement.

Meta