Re: Tasty exceptions



Michael C. wrote:

That style lets a programmer know if there is an error or not.

What if there is an out of memory error, and the 'Result := True' call
is never reached? You'll get no return value for the function, and
you'll have no idea you are out of memory.

--
Nick Hodges
Delphi/C# Product Manager - Borland/DevCo
Read my Blog -- http://blogs.borland.com/nickhodges
.