RE: Problem with my Vectors

"Joel Rowley" <hjoelr-/[email protected]> Thu, 27 May 2004 11:06:52 -0400
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hey Rusty and List,

Thank you for showing me what my problem was!  I can't believe that I missed
that and was using static in there.  I knew what static meant, but I just
didn't even think of that being my problem!  Thanks again for showing me
this!

Thanks!
Joel Rowley

> -----Original Message-----
> From: Rusty Haddock [mailto:[email protected]]
> Sent: Thursday, May 27, 2004 1:08 AM
> To: Joel Rowley
> Cc: tini-6tN4nzCoH/[email protected]
> Subject: Re: [TINI]Problem with my Vectors
> 
> Your declaration of the 'theName' element of TestClass.  static in Java
> means something different than in 'C'.  If you don't remember (or haven't
> learned yet :-) the static declaration modifier basically lets each
> instantiation of TestClass share the 'theName' element.  Consequently,
> each time you create a new TestClass object with an initializer, all
> instances of the TestClass object "get" the new value for 'theName'.
> 
> This is not a TINI problem. :-)
> 
> 	-Rusty-
> --
>    _____        Rusty Haddock  =  KD4WLZ  =  [email protected]
> |\/   o \   o  **Out yonder in the Van Alstyne (TX) Metropolitan Area**
> |   (  -<  O o              Microsoft is to software what
> |/\__V__/                  McDonalds is to gourmet cooking

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini