easy question: persistent/static vars?
static variables in the local scope
as example if have
int x()
{
for(int i=0;...)<operation>;
}
and have
int start()
{
for(int i=0;...)<someOtherOperation>;
}
compiler says:
'i' - variable is already defined ...
I understand "local" to mean scope is within function x()
Meaning "int i" in function start() should be allowed.
ie: different function, different name space etc.
Following help text is saying local = local scope therefor identifier name should be available for reuse in any other function... YES?
[I use MetaEditor 4.00 Build 191]
Navigator help states:
and
I think I saw this in another thread, but can't locate it now.
Thanks in advance!
Alan