Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Who Called Me?
Message
From
30/10/2000 16:51:29
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00436100
Message ID:
00436106
Views:
21
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
Previous
Reply
Map
View

Click here to load this message in the networking platform