[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Raises an EMaskError exception when the closing ']' character is omitted from a set or range expression.
Source position: masks.pas line 200
protected class procedure TMaskBase.Exception_MissingCloseChar( |
const aMaskChar: string; |
aOffset: Integer = - 1 |
); |
aMaskChar |
|
Mask character found instead of the expected value. |
aOffset |
|
Offset in the mask expression where the error was found. |
Exception_MissingCloseChar is a class procedure used to raise an EMaskError exception when the closing ']' character is omitted from a set or range expression. The exception message is determined by the value in the aOffset argument. When aOffset is a positive value (or zero), the value in rsMissingCloseCharMaskAt is used as the exception message. Otherwise, the value in rsMissingCloseCharMask is used.
Exception_MissingCloseChar is called from the private CompileRange method in TMaskUTF8 when the range or set expression is not closed.
|
Examines the mask expression and creates a list of op codes. |
Version 4.0 | Generated 2025-05-03 | Home |