View Single Post
  #3 (permalink)  
Old 08-03-2007, 04:46 AM
yiweiang yiweiang is offline
Member
 
Join Date: Aug 2007
Posts: 15
yiweiang is on a distinguished road
Hi,

Shane Preater's method will solve this problem. But the importance of this issue is... variables declared inside of your methods ALWAYS need to be initialized before use. Otherwise a compiler error will result. However, that cannot be said for class variables. Those do not have to be declared before use.

Yi Wei
Reply With Quote