Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Truncated element from ASTACKINFO()
Message
De
12/09/2012 09:02:18
 
 
À
11/09/2012 14:22:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01552732
Message ID:
01552775
Vues:
76
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform