Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The biggest mistake of the season :)
Message
From
24/05/2006 03:59:26
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124333
Message ID:
01124468
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform