Function VirtualBoolean(varname: string, [createval: Boolean=FALSE], [group:Integer=0]) : Boolean
Returns the value of the VirtualBoolean with name varname.
(For how to use groups, see the advanced topic VirtualVariable Groups)
If a VirtualVariable doesn't exist with that name, a new one is created (in the specified group) with the value of createval. This means that you can add the VirtualVariables to your program with sane default values so that you don't have to define so many settings in script files, but you leave the option there if the settings are needed. This might be useful if you pack all media into one exe but the exe saves its settings after it is run.
Here is an example of a settings file:
Here is how it would work in a program:
VirtualBooleans can be created either by calling VirtualBoolean on a variable that doesn't exist, using the function ReadSettings or the function MapVirtualBoolean.