Sign in Join
FPDoc Onlineexperiment

TMaskUTF8.intfMatches function

Member of TMaskUTF8protectedIn unit Masks

Implements the Matches method for the supported platform.

Declaration

pascal
function intfMatches(aMatchOffset: Integer; aMaskIndex: Integer)
: TMaskFailCause

Arguments

aMatchOffset

Offset into the match string compared in the method.

aMaskIndex

Ordinal position for the op code used in the method.

Function result

Success or failure reason for the comparison.

Description

IntfMatches is a TMaskFailCause function which implements the Matches method in the class instance.

IntfMatches uses the compiled op codes for the Mask expression to determine whether a value in the compared string are suitable for op codes. The return value indicates the success or reason for failure in the method.

IntfMatches is called from the Matches method.

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