Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Alines()
Message
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:
01134686
Vues:
27
>>>>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.
>
>It'll eliminate all matches because New Line is CHR(13)+CHR(10) not CHR(13).

Really?
The line end are CHR(13)+CHR(10) or CHR(13),see the PRG properties - setting "Save with line feeds"

MartinJ
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform