Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try Catch ... Bug ... perhaps on documentation ?!
Message
From
16/09/2003 08:06:11
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Try Catch ... Bug ... perhaps on documentation ?!
Miscellaneous
Thread ID:
00829303
Message ID:
00829303
Views:
62
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 ?
bye, Emanuele!
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.
Next
Reply
Map
View

Click here to load this message in the networking platform