theo,
Thanks for your reply. I'm writing a notepad replacement to teach myself lazarus/free pascal and I'm having some problems with implementing search and replace. Your reply gave me additional ideas on how to solve my problems.
Basically, my implementation was the same as yours except that instead of doing something like this:
Include(rOptions, ssoBackwards);
I did it like this:
rOptions := rOptions + [ssoBackwards];
Is there a difference in the two? Reading up on sets in the Delphi Basics website and the Teach Yourself Borland Delphi 4 in 21 Days book, the two should have the same effect. Or am I missing something?
Thanks for any reply.