[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Determines if the specified value is an absolute file path (not a relative one).
Source position: lazfileutils.pas line 46
function FilenameIsWinAbsolute( |
const TheFilename: string |
):Boolean; |
TheFilename |
|
Path and file name to use in the function. |
True when the file name is not a relative path.
FilenameIsWinAbsolute is a Boolean function used to determine if the value in TheFilename contains an absolute file path (and not a relative one).
On Windows, the FilenameIsWinAbsolute function is called in the implementation of FilenameIsAbsolute. FilenameIsWinAbsolute takes Device identifiers into consideration when examine the value in TheFilename. For example:
D:\db\employee.fdb
The return value is False if TheFilename (without the optional device identifier) is an empty string (''), or does not start with the directory separator for the environment.
Version 3.2 | Generated 2024-02-25 | Home |