On Sun, 21 Sep 2008, Lorenzo Fiorini wrote:

Hi Lorenzo,

> However I've found that even a "small" change like that required a
> major change in the code. Not in the function itself but in all that
> functions that are called in the middle.
> Things like data driven app and "static file wide vars + set/set
> functions" may become a problem.

Please remember that Harbour supports

   THREAD STATIC <var> [ := <init> ]

which are local to thread - each thread uses it's own copy
of such static variable initialized to <init>.
In many cases it's enough to use them instead of normal static
variables though it depends on program context.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to