>Playing with ASTACKINFO() for a bit in trying to modify an error handler. I have a program called GLOOP and when i DO GLOOP I'm seeing some wierd results
>
>
>**GLOOP.PRG
>USE (mytable)
>ab=111
>DO rlpa
>
>** RLPA.PRG
>ab=123
>xx = 1
>yy = 2
>DO rlpb.prg
>
>** RLPB.PRG
>ww="A"
>DO rlpc
>
>** RLPC.PRG
>lnStack = ASTACKINFO(aTmpStack)
>
>? atmpstack[1,6] ----> DO rlpa.pr
>? atmpstack[2,6] ----> DO rlpb.pr
>? atmpstack[3,6] ----> DO rlp
>? atmpstack[4,6] ----> lnStack = ASTACKINFO(aTmpStack
>
>In all the programs there was nothing after the last character of the code. If I add a space or CRLF then the code from aTmpStack[n,6] prints as expected.
>
>Does anybody have an explanation as to why the last character would get truncated?
Do you get the same problem if you shorten the variable names? That is, is this some kind of display limit you're encountering?
Tamar