Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at ocaml.org.

Browse thread
Object's constructor cannot access self?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: "ocaml_beginners"::[] Object's constructor cannot access self?
On Thu, Jul 10, 2003 at 10:57:57PM +0900, Yamagata Yoriyuki wrote:
> > Because the repaint method uses values and methods from the object, it
> > needs to have access to self.
> 
> What is wrong with initializer? The code using initializer would
> 
> initializer 

Thanks. I learn a new feature every day!

Rich.

-- 
Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj
Merjis Ltd. http://www.merjis.com/ - all your business data are belong to you.
All new technology is irrelevant until it is taken up by the public.