Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try and Catch
Message
From
17/09/2005 09:22:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/09/2005 09:20:52
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01050489
Message ID:
01050584
Views:
11
>>>>>Hi, one thing I will love to see in Sedna is Try/Catch working on SPT functions instead of using Aerror(). It will be good if TRY/CATCH traps all kind of errors.
>>>>>
>>>>>Luis
>>>>
>>>>Nice. Nicer would be if TRY/CATCH could trap all errors.
>>>>Cetin
>>>
>>>I don't agree here.
>>>ODBC, COM, Files access are external operations
>>>
>>>and it is very better if they return a state.
>>>
>>>You considers an async ODBC fetching,
>>>that fails during the fetch in backgroud,
>>>where is the CATCH that it captures the error?
>>>
>>>A mixed model is very confused.
>>>
>>>Different discourse the is implemented all with mechanisms of multithread callbacks,
>>>but this is far years light from VFP.
>>>
>>>Fabio
>>
>>I might want that. Try/Catch is not mandatory. There are cases where I'd like a try/catch.
>>Cetin
>
>I would prefer that they integrated Error() in the stack of the TRY so that
>VPF accept a THROW or a ERROR into the Error event.

Might be. Honestly I'm not a fan of Try/Catch.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform