Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alines()
Message
De
07/07/2006 12:43:27
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
07/07/2006 12:18:26
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:
01134514
Vues:
21
>>Peter,
>>
>>That'd give you an upper bound and a rough count. It's be thrown off by comment header blocks that ususally have something like * this procedure calculates the number of days between spottings of Elvis at the local 7-11 in them.
>>
>>>How about something like this:
>>>
>>>x1=UPPER(filetostr("MyProg.prg"))
>>>?"Number of fuunctions ",OCCURS("FUNC",x1)
>>>?"Number of procedures ",OCCURS("PROC",x1)
>
>But searching for CHR(13)+"FUNC" and CHR(13)+"PROC" should eliminate most of the false positives.
>
>Tamar

This could also eliminate true positive(s) - maybe all:)
Wouldn't aprocinfo() be better?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform