Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executable writes to file differently
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00286203
Message ID:
00286239
Vues:
17
>>The STRTOFILE command can be used repetitively in the FoxPro interactive mode to write line after line to a file. When the program is built into an executable the first STRTOFILE writes to the file and subsequent ones are ignored. Anyone know why this happens?
>
>I saw you left a message to this effect yesterday, but I've never had that problem. I use FILETOSTR & STRTOFILE extensively without a hitch.
>
>If it works the first time, but then fails on subsequent times why don't you try just building a large string and doing the STRTOFILE() once?

Alternatively, there's the low-level file I/O approach available to you (FCREATE/FWRITE repetitively) which has worked forever...
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
Répondre
Fil
Voir

Click here to load this message in the networking platform