[fpc-pascal] ROPS and latest FPC compiler (svn)

Alexandre Leclerc alexandre.leclerc at gmail.com
Tue Oct 31 23:01:23 CET 2006


2006/10/31, Peter Vreman <peter at freepascal.org>:
> At 21:59 31-10-2006, you wrote:
> >2006/10/31, Peter Vreman <peter at freepascal.org>:
> >>At 21:08 31-10-2006, you wrote:
> >> >Hi all,
> >> >
> >> >I'm running into strang ROPS behaviour when using the latest compiler
> >> >in svn. Is there a compiler switch required for it to work ok? Using
> >> >revision 3823 I have no problems.
> >> >
> >> >The parameters in the script when passed to actual FPC code is not
> >> >working well.. this was an old bug... parameter order or I don't know
> >> >what...
> >> >
> >> >Anyone has any clue for me?
> >>
> >>That are 1300+ revisions. Try doing a binary search. That will take 11 tests.
> >
> >How do a do such a thing?
>
> Use the binrary search algorithm to find the the revision that break
> it. Everytime update svn with "svn up -r <rev>" to update to the
> revision to test.

Ok, ok, I know what you guys mean now... Yeah, this is the 'QuickSort'
algo (how I use to call it) and I'm using this technique too. I did
not know what was 'binary search'. :)

Best regards.

-- 
Alexandre Leclerc



More information about the fpc-pascal mailing list