Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Who Called Me?
Message
De
30/10/2000 16:51:29
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00436100
Message ID:
00436106
Vues:
22
From the help file:
If you specify –1 for nLevel, PROGRAM( ) returns as a numeric value the current program level. PROGRAM(–1) always returns zero when issued from the Command window.

Therefor:
*Program(program(-1)-1) gets the name of the program which called this program

"It works in my office."

Larry Shirk
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform