Re: FastMM 4.13 Exceptions



> My point is that it is not possible for a range check error to occur in
> the following code:
>
> ...
> for i := 0 to high(SmallBlockTypes) do
> begin
> if not Assigned(SmallBlockTypes[i].UpsizeMoveProcedure) then

Maybe you should use Low(SmallBlockTypes) instead of 0?

Isn't there a compiler directive to start arrays at 1 instead of 0? I can't
remember.


--
Pete
====
ECO Modeler, Audio compression components, DIB graphics controls,
FastStrings
http://www.droopyeyes.com

Read or write articles on just about anything
http://www.HowToDoThings.com

My blog
http://blogs.slcdug.org/petermorris/


.



Relevant Pages

  • Re: Audio / Video compression
    ... ECO Modeler, Audio compression components, DIB graphics controls, ... FastStrings ... Read or write articles on just about anything ... My blog ...
    (borland.public.delphi.non-technical)
  • Re: Is it Time To Migrate to Microsoft
    ... FastStrings ... Read or write articles on just about anything ... My blog ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: Metadata and generics in Win32
    ... ECO Modeler, Audio compression components, DIB graphics controls, ... FastStrings ... Read or write articles on just about anything ... My blog ...
    (borland.public.delphi.non-technical)
  • Re: TEventLogger
    ... FastStrings ... Read or write articles on just about anything ... My blog ... Prev by Date: ...
    (borland.public.delphi.non-technical)
  • Re: More good publicity
    ... FastStrings ... Read or write articles on just about anything ... My blog ... Prev by Date: ...
    (borland.public.delphi.non-technical)