Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement