Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RETURN TO MASTER etc...
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00098164
Message ID:
00098207
Views:
28
>Below is the syntax for the RETURN TO command.
>
>In Les Pinter's book he uses a constuction similar to
>
>RETURN  TO &varname
>
>where varname contains 'SYSMAIN' in one instance and 'MASTER' in another. His main prg is sysmain.prg. But, in an error trapping code he returns to MASTER. While running in DEBUG it returns to the click event that has a deliberate bug, for demo purposes, but when the exe is run the program appears to do a normal shutdown without returning to the click event.
>
>Question: what is the "highest calling program:???
>
This is based on my FPW experience, but it should be the program where READ EVENTS was issued (in FPW it was the foundation READ).

BTW, and not to take on Mr. Pinter, but I would avoid macro substitution in this case like the plague unless no other solution is available.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform