Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try Catch syntax
Message
From
26/08/2004 11:40:17
 
 
To
26/08/2004 11:35:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936651
Message ID:
00936657
Views:
18
You can't put a 'RETURN' inside the catch...you can set a flag there to alter behaviour from that point forward (after the ENDTRY).

>This is the first time I am using a Try Catch syntax. Today, I got an error in it and I got this message:
>
>Unhandled Structured Exception
>
>Here is the code:
>
>
>* We need to trap for possible errors
>TRY
>   loHTTP.Send()
>CATCH
>   RETURN
>ENDTRY
>
>
>What is wrong in that?
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform