Sign in Join
FPDoc Onlineexperiment

TWindowsQuirk enumeration

In unit Masks

Represents types of Windows-specific quirks for file and directory masks.

Declaration

pascal
TWindowsQuirk = (wqAnyExtension,wqFilenameEnd,wqExtension3More,
 wqEmptyIsAny,wqAllByExtension,wqNoExtension)

Description

TWindowsQuirk is an enumerated type used to represent ways in which a Windows/DOS mask works differently than a regular mask. Windows/DOS masks have many quirks and corner cases inherited from CP/M, then adapted to DOS (8.3) file names, and adapted again for long file names.

Values

wqAnyExtensionTreats "filename*.*" as if the ".*"" notation is omitted. This causes the mask to behave in a UNIX-like manner, where 'foo.*' matches 'foo'.
wqFilenameEnd
wqExtension3More
wqEmptyIsAny
wqAllByExtension
wqNoExtension

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.