Sign in Join
FPDoc Onlineexperiment

TMaskBase.TMaskFailCause enumeration

Member of TMaskBaseprotectedIn unit Masks

Represents success or failure conditions when handling mask characters.

Declaration

pascal
TMaskFailCause = (mfcSuccess,mfcMatchStringExhausted,mfcMaskExhausted,
 mfcMaskNotMatch,mfcUnexpectedEnd)

Description

TMaskFailCause is the type returned from the IntfMatches method in TMaskUTF8 and descendent classes.

Values

mfcSuccessThe mask was examined and a match was found.
mfcMatchStringExhaustedCharacters in a compared value were exhausted before a match was found.
mfcMaskExhaustedValues in a mask expression were exhausted before a match was found.
mfcMaskNotMatchThe compared value is not a match for a given mask expression.
mfcUnexpectedEndDefault error condition when an invalid op code is found for a mask expression.

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