Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Write text file without EOF marker?
Message
De
10/10/2003 17:00:51
 
 
À
10/10/2003 15:41:49
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00837438
Message ID:
00837679
Vues:
46
>>>>>...Or you can build whole XML as a string and than save it to a file using STRTOFILE().
>>>>
>>>>But he's using FP2.6 and this functions was available in that version :-)
>>>
>>>Only if you're lazy to write one. :)
>>
>>The problem is, the string of XML becomes larger than 2.6a can handle.
>>
>>BOb
>
>Larger than 16MB?

Actually the help says 2 GB for string size in 2.6, but I kept getting an insuficient memory error... actually, what I was doing was taking the file I had written, putting it into a memo file then doing:

replace mymemo with left(mymemo,len(mymemo)-1)

and I got insuficient memory, and I assumed it was cause the string was to large. The XML file was only 1.7 mb.

Anyway, SET PRINTER TO works awesome, and I only had to change 4 lines of code.

Thanks,
BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform