I forgot to mention that this is only partially the code that I have. The value of 'n' is actually initialized. Sorry about that...I should have posted everything I guess.