A list of products available on this site
Documentation for XtraMania's xtras
Prices and links to the online store
Xtras, PDFs, samples
Have a question? Ask us!
Contacts
Logo. www.xtramaina.com  
Home Search E-mail
VbScriptXtra Reference/Init()

xtra "VbScriptXtra".Init(bDebugMode)

Syntax

bSuccess=Init(xtra"VbScriptXtra",bDebugMode)
or
bSuccess=xtra("VbScriptXtra").Init(bDebugMode)

Parameters

bDebugMode - a boolean or integer value specifying whether to set debug mode for newly created wrapper instances. Note: the value of this param affects wrapper instances created by further calls to CreateObject or GetObject methods.
When debug mode is set, wrapper instance outputs all information about errors in Messages window.

Returns

true if successful, false otherwise.

Description

Initializes VbScriptXtra and optionally sets debugging mode for newly created wrapper instances.
Debugging mode is highly recommended while investigation what VbScriptXtra can do, since it will output all error description information right in Messages window. There is no need to set debug mode in release versions.
You may safely call Init several times to enable or disable debug mode default setting. See more details about debugging recommendations.

Site homeSearchContact author © Eugene Shoustrov. www.xtramania.com