Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Try and Catch
Message
De
17/09/2005 09:20:52
 
 
À
17/09/2005 09:07:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
VFPX/Sedna
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01050489
Message ID:
01050583
Vues:
18
>>>>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform