Difference between revisions of "TSCARObject"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Hierarchy== TObject > TSCARObject ==Availability== SCAR Divi 3.35 > Current ==Description== A basic object class tied into SCAR's internal resource management system...")
 
(No difference)

Latest revision as of 18:46, 22 July 2012

Hierarchy

TObject > TSCARObject

Availability

SCAR Divi 3.35 > Current

Description

A basic object class tied into SCAR's internal resource management systems. Any TSCARObject created in a script will be freed from the memory when the script finishes running, given that the object was created inside of the script-thread.

The resource manager for TSCARObject can be disabled using the compile directive "RESOURCE_MANAGEMENT".

{$RESOURCE_MANAGEMENT OFF}

begin
  // No resource management for TSCARObject!
end.

Members

Methods

Properties