Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug in RETURN TO ... (revisited)
Message
From
06/02/2009 09:06:53
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01378918
Message ID:
01379768
Views:
26
>Still, the workaround I'm really looking for is one that fixes the undocumented RETURN TO ... result value. I don't know that any such solution exists - I tried a few guesses and decided to give up after none of them bore fruit. For example, I tried using a PRIVATE or a PUBLIC variable instead of a LOCAL one - no difference. Perhaps someone will someday come along with a brilliant kludge that does the trick. In the meantime, I'll keep an eye out for cases where this issue comes up, and use the sort of extra checking I described.

I think it's really unlikely that you're find a way to get a reliable return value from RETURN TO. There's no question that the two ways of using RETURN were designed to be mutually exclusive.

Tamar
Previous
Reply
Map
View

Click here to load this message in the networking platform