Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FGETS Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00430596
Message ID:
00430642
Vues:
15
>Does anyone know why an FGETS() function would stop at a CHR(26) value of HEX '1A' rather than a CHR(13) Hex '0D' Carriage Return as it is documented?
>

CHR(26) is interpreted as a text file EOF marker.

>
>I am losing data on a low-level file read when reading record by record because of garbage data being sent to us in a file. We have been stripping out CHR(0) values to clean up the data, but this is a new piece of garbage being supplied to us to check for.
>
>TIA
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform