Issue with Valentina and RB 5.5fc2

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Feb 25 10:50:22 CST 2004


on 2/25/04 2:12 AM, Chris Kelly at c.kelly at qfsaustralia.com.au wrote:

Hi Chris,

It sounds like REALbasic 5.5 is more strict in language,
And require explicit definition of empty constructor.

Somebody from REAL can confirm this?

I think this is strange, because e.g. In C++ we can do not define default
constructor for a class, and compiler will generate it self.


> Hi Ruslan ,
> 
> I sent the message below to the Beta's list at REAL, it was suggested I
> send it here.
> <msg>
> I have just tried to create some valentina classes following the
> Valentina Tutorial as the example
> 
> MyDatabase <- subclass of VDatabase
> BoPerson <- subclass of VBaseObject
> 
> MyDatabase has a property mPerson of type BoPerson .
> 
> In the constructor of MyDatabase  is only one line.
> 
> mPerson = new BoPerson
> 
> Try to compile and I get this
> 
> <error>
> * Parameters are not compatible with this function in
> MyDatabase.Constructor, line 1:
> mPerson = new boPerson()
> </error>
> 
> I then add an *empty* constructor to boPerson
> 
> Problem goes away and in fact compiles.
> </msg>
> Thanks
> Chris Kelly
> IT Manager
> TVH Australasia
> ph 61 7 3277 0877
> fax 61 7 3277 0026

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list