Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help using 'return to program' with methods vs. function
Message
From
15/08/2001 19:59:13
 
 
To
15/08/2001 19:00:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00543789
Message ID:
00544468
Views:
24
>Steve,
>
>If you would like to learn more about the 'try/catch/finally' construct, go to google.com and search on 'try catch finally java'. This will bring up some excellent Java manual pages that explain the concept. The try/catch/finally construct is supported in C++, Java, and the .NET languages C# and VB.NET. There's a C# language Specification document on MSDN that does a pretty good job of describing the new .NET flavor which I personally like better than the original C++/Java flavor.
>
>If MS can implement a reliable 'return to (integer) level' command then I believe it may be possible to build a VFP pre-processor that can implement most of the 'try/catch/finally' construct using today's VFP syntax. This may eliminate the need (or the wait) for MS to implement this construct as a native feature of VFP.
>
>However, with that said, the 'best' long term solution is for 'try/catch/finally' to enter the VFP syntax as native commands. I'll post a draft 'try/catch/finally' enhancement request for others to tear up when my schedule permits.
>
>Regards,
>Malcolm
>
>

Malcolm,

Thanks for the additional info. Code Complete by Steve McConnell discusses using 'Try/Catch' methods...I like the concept.

Thanks again,
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform