Table of Contents

TatScript.SilentCompile Method

Compiles the current script source code without raising an exception on error.

Remarks

When compilation fails, no exception is raised; instead, information gathered up to the failure point is preserved. This is useful for extracting meta-information (declared routines, variables, etc.) from a script that may not be fully valid. The SilentCompiled property is always set to True when this method is called. The Compiled property is always set to False, regardless of whether compilation succeeded or not.

Syntax

Unit: atScript

procedure TatScript.SilentCompile;

See also