Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving current line of code in a module
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Retrieving current line of code in a module
Divers
Thread ID:
00360934
Message ID:
00360934
Vues:
45
Hi All,
Is there a way to programmtically retrieve the current line of code, given a program? For example, if I have a procedure or class method that is called several times from a module, how can I determine what line of code launched it?

I can't pass the value becuause the procedure is an ASSIGN method and AFAIK, it only accepts one parameter. I can get the program that called it by using Program(program(-1)-1) but I want the line number or the actual line of code that initiated the call.

Any ideas?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform