Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set alte to produces an eof mark in text file
Message
 
 
À
16/04/1999 22:14:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00209297
Message ID:
00209307
Vues:
21
Rixon,

You can't. You might try TEXTMERGE instead I don't recall if that EOFs the file or not. THe other thing that's pretty easy to do is to FileToStr() the file and write back out all but the last character. If you don't have VFP6 use a temp cursor memo field instead. Unless the file is huge the process is pretty fast.

>I'm trying to prevent an eof mark from appearing in a text file produced by the following code:
>
>set alte to textfile.txt
>set alte on
>? "test"
>set alte to
>
>
>This produces a text file that has the word test along with an eof mark (a square box)
>
>How do I prevent the square box from appearing ?
>
>Thanks in advance.
>
>Rixon Reed
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform