Robert Klemme wrote:
> 2006/2/12, Mark Volkmann <r.mark.volkmann / gmail.com>:> On 2/12/06, David Vallner <david / vallner.net> wrote:> > D Nede¥ªa 12 FebruáÓ 2006 20:45 Mark Volkmann napùÔal:> > > If Struct is a shorthand way for creating Classes, why don't objects> > > created from those Classes have instance_variables?
> 
>>My issue is that I wanted to think of Struct as an alternate way of> defining a class and that after doing so I could use it like any other> class.
> 
> You can.
> 

Well, what if you want to add a new method to the class? That
method should have the right to use the instance variables.
But in a Struct there aren't any.


Hal