Table of Contents

TScripterLibraryOptions.SourceFileExt Property

Gets or sets the default file extension for script source code files.

Remarks

Contains the default extension for source code 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 SourceFileExt is ".pas", then if the script states "uses SomeFile;", the compiler will try to find SomeFile.pas in the source path.

Syntax

Unit: atScript

property TScripterLibraryOptions.SourceFileExt: string

See also