Table of Contents

TScripterLibraryOptions.SearchPath Property

Gets or sets the list of directory paths used as search paths for script compilation and execution.

Remarks

SearchPath holds a list of valid directory names to be used as search paths for script compilation/execution. Whenever the compiler (or virtual machine) finds a reference to a file and needs to find one, it will search in the list of search paths. The order is important, it will try to find the file in the first path in the list, if not found, the second path is used, an so on. You can the following macros in path.

$(CURDIR): Contains the current directory $(APPDIR): Contains the application (.exe) directory

Syntax

Unit: atScript

property TScripterLibraryOptions.SearchPath: TStrings

Examples

$(CURDIR)\MyPath}

See also