[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'FileUtil' (#lcl)

FilenameIsPascalUnit

FilenameIsPascalUnit - checks that the supplied name is a correct Pascal unit name

Declaration

Source position: fileutil.pas line 85

function FilenameIsPascalUnit(

  const Filename: String

):Boolean;

Arguments

Filename

  

The name of the file for checking

Function result

Returns True if the supplied name is a correct Pascal Unit filename

Description

FilenameIsPascalUnit - checks that the supplied name is a correct Pascal unit name

Looks at the file extension to see if it matches one of the standard Pascal extensions (currently .p, .pp, .pas)

This page is hosted on Get Lazarus Code and Component Repository at SourceForge.net. Fast, secure and Free Open Source software downloads