Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strtofile inconsistent
Message
De
24/02/2008 09:11:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01295630
Message ID:
01295841
Vues:
19
>?????????????????????
>
>I have isolated down to the fact that if the file name used has the word 'PAY.CSV' in it, the file can not be appended to when run in an EXE, however, in development mode there is no problem.
>
>Can anyone else verify?
>

Just tried this with VFP SP2. I created this program and built it into an EXE:

cString = "something"
nResult = STRTOFILE(cString, "Pay.CSV")

FOR n=1 TO 10
nResult = STRTOFILE(cString, "Pay.CSV", 1)
WAIT WINDOW "Pass " + TRANSFORM(n) + ":" + TRANSFORM(nResult)
ENDFOR

Worked exactly as expected.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform