TScripterLibraryOptions.UseScriptFiles Property
Indicates whether the scripter can find and load script-based libraries from files in the search path.
Remarks
When UseScriptFiles is true, the scripter enabled file-based script libraries. For example, if the script has the following uses clause.
uses MyScript;
If MyScript is a library added from code (imported by import tool, for example), then everything works ok. If the MyScript library is not found, an error occurs. But if UseScriptFiles is set to true, it also tries to find script files in the search path with name MyScript. The default file extension is specified by SourceFileExt and CompiledFileExt. So, for example, the compiler tries to find MyScript.pas or MyScript.pcu files in search path. If found, then the file is also compiled and used as a library by the original script. By default, UseScriptFiles is false.
Syntax
Unit: atScript
property TScripterLibraryOptions.UseScriptFiles: Boolean