TMaskBase.Add procedure
Adds one or more mask op codes found in the compiled mask expression.
Declaration
procedure Add(aLength: Integer; aData: PBYTE)
procedure Add(aValue: Integer)
procedure Add(aValue: TMaskParsedCode)Arguments
aLength | Number of bytes needed to represent the op codes in AData. |
aData | Pointer to the bytes representing the op codes. |
aValue | Integer value for the TMaskOpCode enumeration value added in the method. |
Description
Add is an overloaded method used to add one or more op codes for compiled mask expression. The overloaded variants allow the op code to be specified as a TMaskParsedCode enumeration value, as a pointer to byte values for the parsed op code(s), or as an Integer.
Add is called is from the Compile method (in descendent classes) when UTF-8 codepoints in the mask expression are translated into their corresponding op codes.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
