Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try Catch ... Bug ... perhaps on documentation ?!
Message
 
 
To
16/09/2003 08:06:11
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00829303
Message ID:
00829313
Views:
21
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform