Information générale
Catégorie:
Groupes d'usagers
>Nicolas,
>
>We obviously have a communications problem here - in the VFP world it is 'generally' accepted that "bytes" and "characters" ARE THE *SAME* THING.
>
>So maybe if you are much more PRECISE as to what your EXACT problem is, someone can help.
>
>Cheers,
>Jim N
>
Is a character one byte?
NICK
>>>>You are correct I am reading a low-level file. I need to calculate in bytes each
>>>>line that i read with FGETS(lnFileHandle).
>>>
>>>Then LEN() of the returned string is exactly what you want.
>>
>>LEN() return the total of characters in the string not the size in bytes of the string.
>>
>>Thanks
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