that's not what i just asked HK... read the question again...
i'm talking about globals declared inside functions now... not inside types...
you outta be more concerned with reading the question before responding to it :) and your 2 months only means that i'll probably wind up bugging you with more questions...
ya see, i'm much more comfortable with c++... even VB.net... as compared to BMax... this whole concept of using a list to track instances of types is contrary to anything i'm accustomed to... but REDI's explanation sorta made it clear why it's being done here...
try and create a global variable inside a vb6 function for that matter...
and why do ya think that by default, variables inside c functions are local, and static vars inside c functions are not global...
there's valid reasons why this isn't normally allowed... hence, i ask the question about how it's done in BMax...
--Mike
i'm talking about globals declared inside functions now... not inside types...
you outta be more concerned with reading the question before responding to it :) and your 2 months only means that i'll probably wind up bugging you with more questions...
ya see, i'm much more comfortable with c++... even VB.net... as compared to BMax... this whole concept of using a list to track instances of types is contrary to anything i'm accustomed to... but REDI's explanation sorta made it clear why it's being done here...
try and create a global variable inside a vb6 function for that matter...
and why do ya think that by default, variables inside c functions are local, and static vars inside c functions are not global...
there's valid reasons why this isn't normally allowed... hence, i ask the question about how it's done in BMax...
--Mike