Sign in Join
FPDoc Onlineexperiment

TMaskUTF8.Mask property

Member of TMaskUTF8publicIn unit Masks

Mask expression used to match files or directories in the class instance.

Declaration

pascal
property Mask: string read GetMask write SetMask;

Description

Mask is a String property which contains the mask expression used to compare / evaluate a value in the Matches method. The property value is initially set using the arguments passed to the Create constructor. Values in Mask use the UNIX file system conventions for wildcards and related notations.

Character values in Mask are translated into op codes in the Compile method. These op codes are used in the Matches method to evaluate and compare a given value to the compiled mask expression.

Changing the value for the property causes Compile to be called when the Matches method is executed.

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