Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try Catch ... Bug ... perhaps on documentation ?!
Message
 
 
À
16/09/2003 08:06:11
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00829303
Message ID:
00829313
Vues:
22
The CATCH block handles errors. So the correct way is
TRY
acti screen
? VariableNotDefined
CATCH
ENDTRY
>HI All!
>
>I norticed that if you write this:
>
>TRY
> acti screen
> ? 'OK!'
>ENDTRY
>
>you'll havent't problem
>but if you write:
>
>TRY
> acti screen
> ? VariableNotDefined
>ENDTRY
>
>you'll receive an UnHandled structured Exception .... but in the documentation is legally write the TRY ENDTRY without CATH in the middle ... where i'm in wrong ?
>
>Now i must write this to workaround the situation:
>TRY
> acti screen
> ? VariableNotDefined
>CATCH
>ENDTRY
>
>My intention is something like this "try to make sometingh but don't care if there is an error".
>
>Can SomeOne Explain me what is the problem ?
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform