Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End of File Character
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00399247
Message ID:
00399560
Vues:
20
Fred,

I was having a mental breakdown. The file was not being written with an EOF character. I was opening the file with MODI FILE after it had been created and kept saving the file without thinking and of course this was adding an EOF.

Thank you for your time,

-Mark

>Sorry, I don't have any W98 boxes to test it on. W95 does the same thing as W2K, no EOF marker. How exactly are you writing it out?
>
>This produces no EOF on my machines:
>

>fh = FCREATE("test.xxx")
>nBytes = FWRITE(fh,"Testing") && writes 7 bytes
>FCLOSE(fh)
>

>
>Looking at the resultant file with a hex editor, I see only the seven characters in "Testing".
>
>
>
>>Fred,
>>
>>I am using Win98.
>>
>>-Mark
>>
>>>
>>>FWRITE() does not put an EOF marker in my file. Why, do you get one? What OS are you using. I'm using W2K and no EOF marker there.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform