Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alines()
Message
De
06/07/2006 08:48:40
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01133139
Message ID:
01134109
Vues:
24
>Sam
>
>
>create cursor x1 ( cLine c(254) )
>append from TheFile type sdf
>
>
>if you have lines longer than 254 characters use multiple fields.
>
>>Actually there are over 70,000 lines, but it craps out after 28,640 lines.
How about something like this:

x1=UPPER(filetostr("MyProg.prg"))
?"Number of fuunctions ",OCCURS("FUNC",x1)
?"Number of procedures ",OCCURS("PROC",x1)
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform