TatScriptRefactor.BeginRefactor Method
Call BeginRefactor before doing any change to script source. This avoids the scripter engine to clear some references attached to the script, like events.
Syntax
Unit: atScript
procedure TatScriptRefactor.BeginRefactor;