Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Called by other program or has been run standalone
Message
De
05/11/1999 11:42:21
 
 
À
05/11/1999 11:38:34
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00287293
Message ID:
00287580
Vues:
20
>>Richard, take a look at PROGRAM() and SYS(16) functions.
>>
>>>Hi,
>>>Is there a way that you can tell when what is the calling PRG or the parent PRG when you run the program
>
>What I want to know is the program name of the calling program not the currently running program. eg.
>I have a program name Myprog.prg which has the following code:
> DO myprog2
>
>In myprog2.prg, how will i know that the program that calls myprog2 is myprog1.

cCalledFrom = Program( Program(-1) - 1 )

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform