14/10/2002 10:59:46 a.m., "Traci Sumpter" <[EMAIL PROTECTED]> wrote:

>
>Newbee at Delphi, Have done VB before and is wondering if Delphi has the
>same sort of function as resume next or resume LABEL:
>
>I know the try except and try finally, but am wondering how to continue or
>retry in Delphi... Hope my question is clear>>
>

A little long-winded but

var
  done : boolean;

repeat
  done := false;
  try
     ..do normal stuff
     done := true
  except on e:exception do
     .. do recovery stuff
  end
until done;


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to