Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GOTO end of procedure...
Message
From
04/06/1997 11:03:37
 
 
To
23/05/1997 09:10:43
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00033300
Message ID:
00034965
Views:
34
>Proc WhoCalls
>Local i
>For i=1 To 32
> if prog()=Prog(i)
> exit
> Endif
>Endf
>retu iif(i>1,sys(16,i-4),"! command window")
>
>In the error routine you use something like this:
>
>_whocalled=whocalls()
>return to (_whocalled)

Thanks you and all who contributed to this solution. The code above was almost perfect. The only change to be made was to the RETURN TO clause in the last line. It gives a syntax error in Vfp 5.0 and should read RETURN TO _whocalled.
Other than that, the snippet gets the job done. Thanks again.
- Gino
- Gino Miceli -
LAN Professionals Inc.
Bayshore, NY
gino@vdot.net
Previous
Reply
Map
View

Click here to load this message in the networking platform