Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help using 'return to program' with methods vs. function
Message
From
14/08/2001 23:30:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00543789
Message ID:
00543877
Views:
19
Hi Nadya,

Thanks for your recommendation. Since posting my original query, I came across the site you posted. In reviewing this site I noticed that Mike Asherman (site author) came across the exact same problem as I did. The problem being that the 'return to' command will only accept unqualified procedure/method names. What we need is a way to specify a 'return to' destination with an object instance qualifier (to distinguish between multiple stack entries with matching method names but different class hierarchies) or a way to return to a specific program depth as in 'return to <level>' where <level> is an integer that describes a specific position in the program() call stack.

Any other ideas?

Thanks!
Malcolm G

Nadya: Check this site http://www.ideaxchg.com/ix07/er/_sys/toccontu.htm for in-deep discussion about Error Handler and a sample, which you can download.

Malcolm: I'm trying to use the 'return to program' statement to return to method code earlier in my program stack. The problem is that program() returns method code names as objectname.method but the 'return to program' syntax does not accept program names with periods.
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform