[ANN] Valentina 3.6 b23 uploaded
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Jul 1 13:47:25 CDT 2008
On 7/1/08 7:33 PM, "jda" <jda at his.com> wrote:
>> In this beta we have RENAME all V4RB constructors to "Constructor"
>> as this is required by RB 2008r3
>>
>
> Thanks, that makes sense.
>
> Now I get some new problems (which are due to my lack of understanding).
>
> I have 3 database constructors named after the database. Here's one example:
>
> Method: PreferencesDatabase
>
> VDatabase(inStorageType)
> prefs = new boPreferences //makes a new table named prefs
>
> I change the method name to Constructor.
>
> The method now automagically changes to this:
>
> // Calling the overridden superclass constructor.
> // Note that this may need modifications if there are multiple
> constructor choices.
> // Possible constructor calls:
> // Constructor(inStorageType As Integer=0) -- From VDatabase
> // Constructor(inConnection As VConnection) -- From VDatabase
> Super.Constructor
>
> VDatabase(inStorageType)
> prefs = new boPreferences //makes a new table named prefs
>
>
> OK, I change VDatabase to Constructor, as in
>
> Constructor(inStorageType)
No no no
You should not change your code at all!
You still need right new VDatabase
> Now I can compile, but can't open an old database, even for 10
> minutes (need to update subscription error).
>
> OK, so I try to make a fresh database. When I do this constructor is called:
>
>
> Constructor(inStorageType)
> myReferences = new boReferences //makes a new table names references
> myMisc = new boMisc
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the Valentina-beta
mailing list