Um Er. Static has at least four different meanings in c++.
void call() {
static int num=0;
num++;
}
num has local scope and application lifetime. num is initialized on the
first call() and retains its value between calls. yup, between calls.
Regards,
Jeff
Yes there is a static modifier in c#. However you can't
declare a static variable inside a function.<
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!