Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine Which Class I'm In
Message
From
09/10/2004 01:32:32
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00949960
Message ID:
00950134
Views:
17
>Nice function.

yup. Small difference in my "design":
I have a standard line with stack level, line number a method/function name
(numeric first because they form small columns) and optionally add the other lines (indented)
depending on the app or user.
So for each row in laStack a special writer-function is called,
which draws on a very small pool of other "formating" functions.
All they need is laStack and row number.
Since row numbers a not to large and this is mostly used in error situations,
there is no worry for a bunch of 1 line functions making the program slow ;-)

Especially the line number makes my life easier.
And if the error handler shows you the "real" source lines
quite often it is not necessary to recreate the error in the debugger,
because the thinking error of the programmers part is evident enough.
So I can start bonging my head on the desk as I start vfp to fix the error.

Productivity is greatly enhanced!

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform