Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BUG: fullpath('', pathname) results inconsistent
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00851650
Message ID:
00851716
Vues:
10
Mike,

The "garbage" you see is the name of the temporary PRG that VFP creates to run selected lines from the command window. Put code into temp.prg and it'll show 'temp' in each line.

>Hi Sergey,
>
>Thanks for confirming the problem and demonstrating another interesting variation. I had thought that the initial assignment x = fullpath('') showed some relationship to intermixing 1 arg usage with 2 arg usage, but your example proves that this is not necessary. However, it does appear that a prior assignment statement is a prerequisite. For example, the following does not cause any such problem:
>
>
>? fullpath('','')
>? fullpath('','')
>? fullpath('','')
>etc.
>
>
>Incidentally, when I ran your test, I noticed what appears to be garbage listed to the right of the quoted string values for all of the values from x3 on. Two spaces after the closing quote, it displays m9us0023 (without quotes) on each line of output from the LIST MEMORY command. This suggests the possibility of some sort memory overwriting bug, which may be a helpful clue to anyone on the VFP team who might be interested in fixing the problem.
>
>Thanks very much for looking into it.
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform