<?xml version="1.0" encoding="Windows-1252" ?>
<NotepadPlus>
<Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" additionalWordChar=".:" />
<AutoComplete language="LUA">
<KeyWord name="and" func="no" />
<KeyWord name="assert" func="yes">
<Overload retVal="void" descr="
Issues an error when the value of its argument v is false (i.e., nil or false);
otherwise, returns all its arguments. message is an error message; when absent, it
defaults to 'assertion failed!'">
<Param name="Bool:v" />
<Param name="String:[message]" />
</Overload>
</KeyWord>
<KeyWord name="break" func="no" />
<KeyWord name="collectgarbage" func="yes">
<Overload retVal="void" descr="This function is a generic interface to the garbage collector.
It performs different functions according to its first argument, opt:
* 'stop': stops the garbage collector.
* 'restart': restarts the garbage collector.
* 'collect': performs a full garbage-collection cycle.
* 'count': returns the total memory in use by Lua (in Kbytes).
* 'step': performs a garbage-collection step. The step 'size' is controlled by arg
(larger values mean more steps) in a non-specified way. If you want to control
the step size you must experimentally tune the value of arg. Returns true if
the step finished a collection cycle.
* 'setpause': sets arg as the new value for the pause of the collector (see §2.10).
Returns the previous value for pause.
* 'setstepmul': sets arg as the new value for the step multiplier of the collector
(see §2.10). Returns the previous value for step.
">
<Param name="String:opt" />
<Param name="[arg]" />
</Overload>
</KeyWord>
<KeyWord name="coroutine.create" func="yes">
<Overload retVal="void" descr="
Creates a new coroutine, with body f. f must be a Lua function. Returns this new
coroutine, an object with type 'thread'.
">
<Param name="Function:f" />
</Overload>
</KeyWord>
<KeyWord name="coroutine.resume" func="yes">
<Overload retVal="void" descr="
Starts or continues the execution of coroutine co. The first time you resume a
coroutine, it starts running its body. The values val1, ··· are passed as the
arguments to the body function. If the coroutine has yielded, resume restarts it; the
values val1, ··· are passed as the results from the yield.
If the coroutine runs without any errors, resume returns true plus any values passed
to yield (if the coroutine yields) or any values returned by the body function (if the
coroutine terminates). If there is any error, resume returns false plus the error
message.
">
<Param name="co" />
<Param name="[, val, ...]" />
</Overload>
</KeyWord>
<KeyWord name="coroutine.running" func="yes">
<Overload retVal="void" descr="
Returns the running coroutine, or nil when called by the main thread.
"></Overload>
</KeyWord>
<KeyWord name="coroutine.status" func="yes">
<Overload retVal="void" descr="
Returns the status of coroutine co, as a string: 'running', if the coroutine is running (that is, it called status);
'suspended', if the coroutine is suspended in a call to yield, or if it has not started running yet;
'normal' if the coroutine is active but not running (that is, it has resumed another coroutine); and
'dead' if the coroutine has finished its body function, or if it has stopped with an error.
">
<Param name="co" />
</Overload>
</KeyWord>
<KeyWord name="coroutine.wrap" func="yes">
<Overload retVal="void" descr="
Creates a new coroutine, with body f. f must be a Lua function. Returns a function that resumes
the coroutine each time it is called. Any arguments passed to the function behave as the extra
arguments to resume. Returns the same values returned by resume, except the first boolean. In
case of error, propagates the error.
">
<Param name="f" />
</Overload>
</KeyWord>
<KeyWord name="coroutine.yield" func="yes">
<Overload retVal="void" descr="
Suspends the execution of the calling coroutine. The coroutine cannot be running a C function, a
metamethod, or an iterator. Any arguments to yield are passed as extra results to resume.
">
<Param name="..." />
</Overload>
</KeyWord>
<KeyWord name="debug.debug" func="yes">
<Overload retVal="void" descr="
Enters an interactive mode with the user, running each string that the user enters. Using
simple commands and other debug facilities, the user can inspect global and local variables,
change their values, evaluate expressions, and so on. A line containing only the word cont
finishes this function, so that the caller continues its execution.
Note that commands for debug.debug are not lexically nested within any function, and so
have no direct access to local variables.
"></Overload>
</KeyWord>
<KeyWord name="debug.getfenv" func="yes">
<Overload retVal="void" descr="
Returns the environment of object o.
">
<Param name="o" />
</Overload>
</KeyWord>
<KeyWord name="debug.gethook" func="yes">
<Overload retVal="void" descr="
Returns the current hook settings of the thread, as three values: the current hook function, the
current hook mask, and the current hook count (as set by the debug.sethook function).
">
<Param name="[thread]" />
</Overload>
</KeyWord>
<KeyWord name="debug.getinfo" func="yes">
<Overload retVal="void" descr="
Returns a table with information about a function. You can give the function directly, or you
can give a number as the value of function, which means the function running at level function
of the call stack of the given thread: level 0 is the current function (getinfo itself); level 1
is the function that called getinfo; and so on. If function is a number larger than the number
of active functions, then getinfo returns nil.
The returned table can contain all the fields returned by lua_getinfo, with the string what
describing which fields to fill in. The default for what is to get all information available,
except the table of valid lines. If present, the option 'f' adds a field named func with the
function itself. If present, the option 'L' adds a field named activelines with the table of
valid lines.
For instance, the expression debug.getinfo(1,'n').name returns a table with a name for the current
function, if a reasonable name can be found, and the expression debug.getinfo(print) returns a table
with all available information about the print function.
">
<Param name="[thread,]" />
<Param name="function" />
<Param name="[, what]" />
</Overload>
</KeyWord>
<KeyWord name="debug.getlocal" func="yes">
<Overload retVal="void" descr="
This function returns the name and the value of the local variable with index local of the function
at level level of the stack. (The first parameter or local variable has index 1, and so on, until the
last active local variable.) The function returns nil if there is no local variable with the given index,
and raises an error when called with a level out of range. (You can call debug.getinfo to check whether
the level is valid.)
Variable names starting with '(' (open parentheses) represent internal variables (loop control variables,
temporaries, and C function locals).
">
<Param name="[thread,]" />
<P