From RTSC Central

Jump to: navigation, search
—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 02-Aug-2008 00:08 UTC

XDCscript - Module-Body.module$static$init

Initialize module's State object

 
function module$static$init(state, mod)

This method initializes the module's state object (declared in by Module_State in the module's specification) based on module-wide configuration parameters. Two parameters are passed to this method:

state
a typed object that corresponds to the Module_State declaration
mod
a typed object representing the current module, containing the values of all module-wide configuration parameters

The values used to initialize state are used to initialize the corresponding target-side module static data. No changes to configuration parameters are allowed here.

—— LANDSCAPE orientation
[printable version]  [offline version]offline version generated on 02-Aug-2008 00:08 UTC


Views
Personal tools