[Overview][Constants][Types][Classes][Procedures and functions][Index] |
CreateAbsoluteSearchPath - concatenates BaseDirectory and SearchPath to form an absolute path to search for files
Source position: fileutil.pas line 91
function CreateAbsoluteSearchPath( |
const SearchPath: String; |
const BaseDirectory: String |
):String; |
SearchPath |
|
The search path (a relative path) |
BaseDirectory |
|
The base directory from which to form the absolute path |
The absolute path formed by concatenating BaseDirectory and SearchPath
CreateAbsoluteSearchPath - concatenates BaseDirectory and SearchPath to form an absolute path to search for files
Adds appropriate path delimiters to the BaseDirectory string, then adds the search path, checking that each directory in the path is in fact an absolutely specified directory, then returns the fully formed absolute search path.
If BaseDirectory is empty, functions exits and returns with Result equal to SearchPath; if SearchPath is empty, function exits with empty Result
lazarus-ccr.sourceforge.net |