Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identify the line number of the programs
Message
From
12/09/2002 13:55:32
 
 
To
12/09/2002 13:48:35
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brazil
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00699857
Message ID:
00699860
Views:
15
>Hi!
>
>In VFP 6 it has the Program() function in which I obtain to list all the programs that had been called until the moment passing as parameter the level that it meets, or either, if I to pass for 3 programs, where one calls the other, it would be thus:
>
>
>? Program(1)  && Program1.Prg
>? Program(2)  && Program2.Prg
>? Program(3)  && Program3.Prg
>
>
>My question is, has as to identify the lines of each program?... to be thus:
>
>? Program(1) + " - " + Str(NameFunction(1))  && Program1.Prg - 128
>? Program(2) + " - " + Str(NameFunction(2))  && Program2.Prg - 5298
>? Program(3) + " - " + Str(NameFunction(3))  && Program3.Prg - 25
>
>Remember: LineNo() function only return the line number of the actual program and i need the line number the other programs too.
>Some idea?
>Thank's in advance.
>Bye!
>
>P.S.: Sorry my ba english.

Erick,

if you have vfp7 : aStackInfo() :http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fox7help/html/lnlrfastackinfofunction.asp

Have not tested it since I'm still using vfp6
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform