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:00:43
 
 
To
15/08/2001 18:19:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00543789
Message ID:
00544442
Views:
19
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


>While you're at it, could you write up a request for 'Try/Catch/Finally' functionality? I have never done any real-world work in a language that supported it...
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform