newObjects-logo.gif (1024 bytes) ScriptManager2 and ScriptAggregate reference
lastError property

read only

Returns the description of the last script error.

variable = object.lastError

variable string Description of the last script error.
object ScriptManager2 or ScriptAggregate Previously created ScriptManager2/ScriptAggregate object

Remarks:

Inspect this property when script error is occured - After calling the Run method, AddText, AddEventHandler methods or calling script members through the script property.

Applies to:

ScriptManager2 and ScriptAggregate objects.

See also:

C++ Helper SCPHOSTCLNT::GetLastError method

newObjects Copyright newObjects 2001-2005