mainGlobalobject_main.t[1182]

global data object for this module

mainGlobal :   object

Superclass Tree   (in declaration order)

mainGlobal
        object

Summary of Properties  

mainRestoreFunc  preinited_  reflectionObj  restartID 

Summary of Methods  

(none)

Properties  

mainRestoreFunc_main.t[1212]

pointer to mainRestore function, if defined

preinited__main.t[1184]
flag: we've run pre-initialization

reflectionObj_main.t[1196]
The global reflection object - if the program is compiled with the standard reflection module, that module will set this property to point to the reflection object.

We use this so that we don't require the reflection module to be included. If the module isn't included, this will be nil, so we'll know not to use reflection. If this is not nil, we'll know we can use reflection services.

restartID_main.t[1209]
Restart ID. This is an integer that indicates how the main entrypoint was last reached. This is initially zero; each time we restart the game, this is incremented.

The restart ID is the only information that survives across a restart boundary. Other than this, entering via a restart is exactly like loading the program from scratch; all other information about the program state before the restart is lost in the restart operation.

Methods  

(none)

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3