Oh, thanks, but actually, I found it by myself, my previous message was
a just a notification of the fact that it would be better to write ()
instead of nothing just after super.
Thanks anyway.
Bye

Julien Vivenot

gwtmp01 / mac.com wrote:
> On Aug 20, 2006, at 6:25 PM, jvivenot wrote:
>
> > Actually, it seems that I if I write only super because the super
> > initialize needs no argument, the super method gives every
> > arguments of
> > the B class to the A initialize, and thus I encounter a ArgumentError.
> > That's OK
> > Thanks
>
> If you don't want to pass any arguments to the superclass's initialize
> use this version:
>
> 	super()		# no arguments
>
> So you've got:
>
> 	super		# pass along the arguments to the current method
> 	super()		# pass no arguments
> 	super(1,2)	# pass these explicit arguments
> 
> 
> 
> Gary Wright