Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The biggest mistake of the season :)
Message
De
24/05/2006 03:59:26
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01124333
Message ID:
01124468
Vues:
13
Hi Naomi,

Since you are keen on re-doing <bg> and especially
>>You asked for it :)

As you are always appending to ".cProblemText", you are in a class or form and IMHO you should code a method in that class/form probably called "AppendProblemText", perhaps even with the old style of checking for needed CRLF before appending.
The performance will be about 15 times worse than direct coding, but I *strongly* doubt that cumulated runtime becomes measurable. We *both* care about perf, but I don't think it should be the deciding factor in this case<bg>. With a bit of luck you can install calling that method inside another logging method, so that you even minimize the calls to the new method.

You wrote too much (similar) code, especially if the app is already partly in maintainance. Remember, lazyness is often GOOD in a programmer!

my very personal 0.01 EUR ;-)

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform