On Sat, 29 Nov 2008 08:13:23 +0100
"Patrick Mast, xHarbour." <[EMAIL PROTECTED]> wrote:

> [learning mode]
> What is the advantage of doing it like this? Besides a smaller c file?
> [/learning mode]

[simple answer]
Conserve CPU job. Only ONE time static is declared.
Imagine if we have a PRG with 25 sub-functions and each SAME var has to
be declared in each of it, it 25s ;-)
So, in this example: 25:1, worth enough, no?
[/simple answer]
--
Andi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
xHarbour-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xharbour-developers

Reply via email to