Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
GOTO end of procedure...
Message
De
04/06/1997 11:03:37
Gino Miceli
Lan Professionals, Inc.
Bay Shore, New York, États-Unis
 
 
À
23/05/1997 09:10:43
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00033300
Message ID:
00034965
Vues:
36
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform