Re: init classe

"Sebastian von Mammen" <[email protected]>
Newsgroups gmane.comp.breve
Message-ID <[email protected]>
> Hi,
> 
> I would init a class with a parameter. If I call the init method with a
> parameter a get this message: "Method 'init' may not be called
> manually". So this is normal but what is the right syntaxe ? 
> 
> Thanks,
> 
> Nicolas

Hi!

I've solved this problem by implementing a totally different method 
("initialize with-param1 param1 (whatever)..." that I call after actually 
creating the instance(s). It's not very nice, but it's sufficient.

Basti

-- 
Sebastian von Mammen
Mathildenstraße 35
90489 Nürnberg

0911 - 4189666
0163 - 444 22 65

"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

_______________________________________________
breve mailing list
[email protected]
http://www.spiderland.org/mailman/listinfo/breve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.