Aaaaaahhh! Not goto, anything but goto :)
As far as I know, Delphi does not support goto or label constructs.
As an alternative I would so something like this:
var
Success : Boolean;
Begin
repeat
Try
Dodgycode;
Success := true;
Except
Success := false;
End;
Until success;
End;
Of course, you would probably want some kind of counter that would make it
give up trying after a couple of times :)
Stephen
-----Original Message-----
From: Traci Sumpter [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 11:00 AM
To: Multiple recipients of list delphi
Subject: [DUG]: Resume Next in Delphi
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>>
---------------------------------------------------------------------------
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/
---------------------------------------------------------------------------
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/