Parser Functions

Functions take the format : FUNC = (param1, param2).

The following "functions" are parsed by ReadSettings

: MODE = (pem, val)
Sets the value of a Parser Engine Mode, where pem is the mode to change, and val is the value.

: IMPORT = (path)
Calls ReadSettings on path, where path is relative to the script containing the IMPORT command.

: FREE = (varname)
Frees the VirtualVariable named varname

: DUMP = (path)
Does a VirtualVariableDump at path relative to the program

: MSG = (txtstr, titlestr)
Launches a Cobra MessageBox with text txtstr and title titlestr

: DMSG = (txtstr)
Launches a Basilisk Error Message with text txtstr as long as debug is on and the SUPPRESS_ERRORS Parser Engine Mode is off

Example Settings File:

: MODE = (SUPPRESS_ERRORS, TRUE)

: IMPORT = (another-file.txt)


$ foobar = I get deleted later
$ foo = Bailisk Example :-)
$ foo = Turn Your Cobra Into a Basilisk!
$ name = Bob

: MSG = (Hello, [name], Alert)
: DMSG = (You don't see me as SUPPRESS_ERRORS is TRUE)


: DUMP = (vvdump_before.txt)
: FREE = (foobar)
: DUMP = (vvdump_after.txt)