>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)
>? Program(2)
>? Program(3)
>
>
>My question is, has as to identify the lines of each program?... to be thus:
>
>? Program(1) + " - " + Str(NameFunction(1))
>? Program(2) + " - " + Str(NameFunction(2))
>? Program(3) + " - " + Str(NameFunction(3))
>
>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