Sign in Join
FPDoc Onlineexperiment

TMaskBase.MaskOpCodes property

Member of TMaskBasepublicIn unit Masks

Contains the set of mask op codes enabled for the class instance.

Declaration

pascal
property MaskOpCodes: TMaskOpCodes read fMaskOpcodesAllowed write SetMaskOpCodesAllowed;

Description

MaskOpCodes is a TMaskOpCodes property with the set of op codes enabled for the Mask expression in the class instance. MaskOpCodes is populated with enumeration values from TMaskOpCode when characters in the mask expression are examined in the Compile method. The allowed values in the set can be specified as an argument to the Create constructor.

Values in MaskOpCodes are used when the Matches method is called to compare a string value to the Mask expression.

Setting a new value for the property causes Compile to be called during execution of the Matches method in descendent classes.

See also

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