> BB| SUB DoIt (s$) STATIC
> | FUNCTION DoItAgain (s$) STATIC
> |
> | Anybody know what this does and why it matters?
JH> It preserves the local variables in the procedure between calls. It's
JH> generally faster, since the variables don't have to be re-created each
JH> time the procedure is called, but the down side is the memory they use
JH> isn't freed when the procedure is not running.
Oh, a global static-variable specification. Okay, thanks. I
thought it was something more esoteric.
Also, if they are all static, you have to remember to
reinitialize them all rather than assuming zero values.
* JABBER v1.2 * Hal 9000: "Dave, put those Windows disks down... Dave...
DAVE!"
--- QScan/PCB v1.17b / 01-0406
---------------
* Origin: Knight Moves - Rochester,NY 716-865-2106 (1:2613/313)
|