Thread: stack question
View Single Post
Old May 8th, 2006, 2:29 PM   #8
Cache
Hobbyist
 
Join Date: Sep 2005
Posts: 263
Rep Power: 4 Cache is on a distinguished road
Quote:
Originally Posted by InfoGeek
May be something like this should work:
...
Nope. The variable 'stackClassDriver' is still only defined within the scope of the switch statement. Pointer variables are subject to scope, too. Even if the object they point to isn't.
Cache is offline   Reply With Quote