Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Issue with 2.02
Tue, Oct 13 2015 12:08 PMPermanent Link

Matthew Jones

Tim,

In 2.02 you have fixed the errInfo exception repeat that I had, but
that causes a more important problem:

function Demo : Integer;
var
   tmBuild : DateTime;
begin
   try
    tmBuild := StrToDate('hello');
       except
           on errInfo : Exception do
           begin
               tmBuild := Date;
           end;
       end;
end;

This code does not compile, as it gives:
[Error] uEWBUtils.wbs (156,17): The referenced variable, parameter, or
function tmBuild does not exist

I presume this is a scope issue. I'm happy to revert to the old "can't
repeat an exception variable" if that helps - that's easy to fix in
source with a different name.

--

Matthew Jones
Tue, Oct 13 2015 12:23 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< In 2.02 you have fixed the errInfo exception repeat that I had, but that causes a more important problem: >>

I'll check it out.

Tim Young
Elevate Software
www.elevatesoft.com
Image