Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find size of a text file
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00338422
Message ID:
00338760
Vues:
11
Sherry -

It looks like there were many responses, but I did not see
this approach :

append the text file into a VFP memo field

set memowidth to an appropriate number(The default is 50 - 8192 is the max)

memlines(fieldname)
will return the number of lines in the text file.

The value of memowidth will effect the result of memlines()

I recently set memowidth to 8192 to check memlines of an exported Lotus Notes text file. Lotus Notes "fields" are limited to 64k and not limited by specific number of characters. Unless the value of memowidth was set high enough, memlines() returned a number greater than the true number of lines.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform