Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try Catch syntax
Message
De
26/08/2004 11:40:17
 
 
À
26/08/2004 11:35:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00936651
Message ID:
00936657
Vues:
19
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform