Difference between revisions of "TScript.TOnException"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
 
m (Declaration)
Line 4: Line 4:
 
==Declaration==
 
==Declaration==
 
{{expand|ErrorCode and Result descriptions}}
 
{{expand|ErrorCode and Result descriptions}}
   function (ErrorCode: TPSError; Message, UnitName, FunctionName: string; Row, Col: Cardinal): Boolean
+
   function (ErrorCode: [[TErrorType]]; Message, UnitName, FunctionName: string; Row, Col: Cardinal): Boolean
 
   ErrorCode:  
 
   ErrorCode:  
 
   Message: Error message to be displayed
 
   Message: Error message to be displayed

Revision as of 22:29, 12 August 2013

Description

Type used by TScript.OnException as an event handler type.

Declaration

Expand with: ErrorCode and Result descriptions
 function (ErrorCode: TErrorType; Message, UnitName, FunctionName: string; Row, Col: Cardinal): Boolean
  ErrorCode: 
  Message: Error message to be displayed
  UnitName: Unit in which the error occured
  FunctionName: Function that caused an error
  Row,Col: Cursor position in file where error occured
  Result: