Table of Contents

TScripterLibraryOptions.CompiledFileExt Property

Gets or sets the default file extension for compiled script unit files.

Remarks

Contains the default extension for compiled unit files. When scripter finds a reference to a file unit (like in "uses" clause for example), it tries to find the source code file for that file. If it doesn't find, then it tries to find the compiled code. Similar to the way Delphi does when compiling an application. So, for example, if CompiledFileExt is ".pcu", then if the compiler states "uses SomeFile;", the compiler will try to find the source code file (for example, SomeFile.pas). If not found, the compiler will try to find SomeFile.pcu in the source path.

Syntax

Unit: atScript

property TScripterLibraryOptions.CompiledFileExt: string

See also