The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



StopOnError


Unit:SDL_stringl
Class:TGrep
Declaration:property StopOnError: boolean;

The property StopOnError forces the TGrep class to issue an error message if the regular expression assigned to RegExp is not correct. By default, StopOnError is set to TRUE.

If StopOnError is set to FALSE, the regular expression is likely to be corrupted if it is syntactically incorrect. In this case the user should check the read only property LastError to detect faulty regular expressions.



Last Update: 2012-Oct-20