Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>I'm having a play with flashparse, if nothing else I need to the xml practice :)
>
>There is a line of code
>lcString = FILETOSTR(tcFileName)
>which is causing vfp5 some problems. It doesn't know about FILETOSTR - is this a version 7 thing. I can't see it as a function, class, program elsewhere so assuming it is.
>
>Can anyone tell me what it does? My guess is that it opens a text file and puts the entire contents into a single string. Only problem there is the 256 char limit on a variable I would have thought. Any ideas or comments?
>
>Sarah
FileToStr and its companion StrToFile, do just as you would expect. (Convert a file to a string, and a string to a file). There are no problems I have encountered with variable lengths.
I believe they are VFP 7 functions, but I recall people writing equivalent functions in the lead up to 7 being released.
Someone may have them, or might be in the file section here.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement