I need to determine which line causes error in script
when script is running in VFP runtime.
I can use
EXECSCRIPT(filetostr('myproc.prg'))
or
COMPILE myproc
myproc()
Unfortunately, VFP does not return the line number which causes error!
It retuns only the error message and EXESCRIPT() or myproc() line number.
Randy Pearson Codeblock returns correct line. However, I have
many SCAN iterations in my scripts and codeblock is too slow in this case.
Any idea ?
Andrus