Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Truncated element from ASTACKINFO()
Message
From
12/09/2012 09:02:18
 
 
To
11/09/2012 14:22:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01552732
Message ID:
01552775
Views:
75
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform