Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method() that resembles Program()...
Message
De
14/07/1999 12:27:33
 
 
À
14/07/1999 11:53:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00241299
Message ID:
00241323
Vues:
16
>Is there a function that resembles Program() in that it can return currently running Program() as well as who called the current program, ect. I know you can watch the call stack, but I was curius.

you can write your own from PROGRAM() or SYS(16), by simply watching the return from (Program(n)) starting it arbitrarily high, and then watching the length of the return; PROG(n) for n > callstack depth returns an empty string.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform