Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Could not figure out exactly what this code does
Message
De
03/06/2009 13:18:31
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01403230
Message ID:
01403451
Vues:
49
>>My preference is to filter out the directories and never change current directory. If there's anything in your code that errors out for any reason, you can't be sure that your cleanup code will Set Default To (lcWhereWeStartedFrom). Your app may not find its pieces if set("path") wasn't recomposed to contain absolute paths. Files you may create after that may end anywhere or nowhere. While fixing this, you may create a prg with the same name as one in another directory and next time you will have the pleasure of fixing one while the other actually runs, etc etc. Which is why I prefer my app to live a sedentary life, no travel.
>
>Personally, I would not even dig into this if we would not run into this strange problem. I wanted to fix it quickly yesterday but instead spent half of the day trying to figure out a way to not touch the code.
>
>I see that I'm even into a bigger mess now with the other problem. If you're VPM long time user, is there a way to not use DD at all for structural changes and let the forms to skip all the validation logic? Of course, I can simply overwrite the Valid logic, but is there a simpler way - using some form's property, for example?

I'm a long user of VPM, but not long time, rather long ago, when it was switching from 5.x to 6.0. It's probably changed a lot, and I have worked with other frameworks since, so I really wouldn't know how it works now.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform