LuaScript.this

Initializes a Lua script from the provided source code.

class LuaScript
this
(
string source
,
const(char*) name
)

Parameters

source string

The source code of the script file.

name const(char*)

The name of the file.

Throws

LuaException, if either a syntax or memory error was encountered.

Meta