[V4Rb 2] Constructor overriding problem

Charles Yeomans yeomans at desuetude.com
Fri Jun 3 12:07:35 CDT 2005


On Jun 3, 2005, at 11:45 AM, Ruslan Zasukhin wrote:

> On 6/3/05 6:03 PM, "Charles Yeomans" <yeomans at desuetude.com> wrote:
>
>>> About first problem:
>>>     can you show some code what you do ?
>>>     or send small project
>>
>> The code is quite simple.  Define a subclass QMDatabase of VDatabase.
>> Then add the following method.
>>
>> Sub Constructor(inHost as String, inUserName as String, inUserPassword
>> as String, inPort as Integer=15432, inTimeOut as Integer=60, inOptions
>> as String="")
>>
>>    Super.VDatabase(inHost as String, inUserName as String,
>> inUserPassword as String, inPort as Integer=15432, inTimeOut as
>> Integer=60, inOptions as String="")
>
> Of if just
>
>     VDatabase
>
> ?

I don't understand.  I can call Super.VDatabase(inStorageType).  It is 
the second constructor that cannot be called.

Charles Yeomans



More information about the Valentina mailing list