PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Richard Marchessault on December 02, 2009, 09:52:12 AM

Title: Search & Replace
Post by: Richard Marchessault on December 02, 2009, 09:52:12 AM
I think there may be a problem with this. I like the functionality however, there have been at least two times that I have used it where program compiled fine before I used it and there was a compile problem right after I used it. The problem was that some of the source code that was not part of the search and replace was modified. I am not certain that the problem was not something I did so I need to do more testing. Hopefully I can do the test this evening but I was wondering if anyone else had experienced a problem.
Title: Re: Search & Replace
Post by: John Montenigro on December 02, 2009, 01:18:32 PM
Could you be a bit more specific - give me some steps and I'll try to duplicate.
-John
Title: Re: Search & Replace
Post by: Richard Marchessault on December 02, 2009, 01:51:32 PM
Hopefully I will have some time to do a proper test this evening. I'll post the results when I finish. I just wondered if others were experiencing problems that might be related to searching and replacing.

What caused me to bring this up was a weird result I obtained this morning. I was inserting a short section of code in a procedure. The program compiled without error before I started doing the insert. I thought I had dimensioned X$ at the top of the procedure so I used the variable in this short section. When I compiled I found that X$ was not dimensioned. I checked and found that I had dimensioned Temp$. So I highlighted the short section of code and did a search for X$ and a replacement with Temp$. Compiled and received an error. The error was due to the fact that some of the code immediately after the section I inserted had changed. Now I cannot be absolutely certain that I did not accidentally change that code but it sure wasn't intentional. I did not have time to test this any further at that time. If this were the first time I had experienced this, I would chalk it up to something I did but it has happened a couple of times before. Could still be my fault. Hopefully I can do a test that will tell me whether there is a FF problem or not.
Title: Re: Search & Replace
Post by: Martin Francom on December 02, 2009, 03:39:10 PM
I have also experienced unexpected behavior with the FIND/SEARCH routine in FF3 when searching the whole project. The problem is that it doesn't always happen, so it's difficult to provide an example.   Wish I could be more specific.  I will try to pin point it now that I know that others are having similar unexpected behavior.
Title: Re: Search & Replace
Post by: Richard Marchessault on December 02, 2009, 08:35:14 PM
Well I tried several search and replace tests. One with a small project and two with a large project where the replace involved multiple forms. No problems were encountered. I assume the problem I had earlier today must have been something I did. If I observe any further issues with this I will add to this thread.