Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto find
Message
De
02/11/2015 16:19:16
 
 
À
02/11/2015 03:31:47
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01626820
Message ID:
01626895
Vues:
54
>>Is there a way to open a text document and right away place cursor next to a 'keyword'.
>>That is, is there a way to bypass the right click 'find' after the document is open.
>
>c=filetostr("yourfile.txt")
>lnAt=atc("yourkeyword", c)
>
>modify file "yourfile.txt" range lnAt, lnat+len("yourkeyword")

I didn't know there was a RANGE clause to MODIFY FILE - very nice!
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform