Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating foxpro table (idx index) using .NET
Message
De
09/10/2014 16:58:54
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
09/10/2014 16:46:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01609022
Message ID:
01609085
Vues:
40
>>>>
>>>>Sorry for jumping in, but in dealing with old code something to keep in mind is that many people used only 4 characters for the commands, so you need to take into account "orde" and "inde" (I was never a fan of this shortcuts but I did find set inde to and set orde to or even use table orde tag...)
>>>
>>>I know, and I should have included the shorter version. Actually, the first thing I did with that application, was to replace all the shortened words with the full ones. That was actually a far easier job than I expected, mostly because it was an all prg project.
>>
>>I do not realy see why not just using VFP's Code Reference. It allows to regexp, so the search for set\s+order?\s+to should be a simple thing.
>>
>>Replace with the Code Reference is an other problem. If you go for prg and scx, no problem. With vcx it's a bit dangerous, there is a bug in the way vcx's are used (not in the Code Refernce, it only asumes wrong)
>
>I don't use Code Reference anymore, it's way too slooooow. GoFish is like Code Reference with 100 turbo chargers, and much more flexible. http://vfpx.codeplex.com/wikipage?title=GoFish. And it also supports RegEx, by the way.

CodeRef is still toooo fast. I do tricky regexp on huge folders (multi project search) and it's to fast for a coffee. And it cashes data so second search is much faster. :)
Anyway, regexp does the trick for the set orde to problem. :) If your prefered tool does it, the better.

Out of beer error. Abort day.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform