[Overview][Constants][Types][Classes][Procedures and functions][Index] |
CompareFileExt - see whether the nominated file has an extension that is the same as the supplied extension
Source position: line 0
function CompareFileExt( |
const Filename: String; |
const Ext: String; |
CaseSensitive: Boolean |
):Integer; |
const Filename: String; |
const Ext: String |
):Integer; |
Filename |
|
The FileName whose extension is to be checked |
Ext |
|
Ext - string defining the Extension to be checked |
CaseSensitive |
|
CaseSensitive - if True, case of Ext must match case in FileName |
Returns zero if extension is present in file name, otherwise returns non-zero value
Filename |
|
The FileName whose extension is to be checked |
Ext |
|
Ext - string defining the Extension to be checked |
Returns zero if extension is present in file name, otherwise returns non-zero value
lazarus-ccr.sourceforge.net |