[V4RB] Translating 1.11 to 2.0
Ruslan Zasukhin
sunshine at public.kherson.ua
Thu Oct 14 20:32:48 CDT 2004
On 10/14/04 7:01 PM, "Frank Schima" <frank-list3 at mindstarprods.com> wrote:
Hi Franke,
> I tried sending this to the beta list - but I have not seen it:
Probably down
> I was trying to learn Valentina 2.0 coding by translating the _TEST
> project to Valentina 2.0 format. But I am stuck on a line of code that
> I cannot figure out:
>
> In 1.11 in the method Test_DataBase_XMLDump_Parse in the class
> test_DbStructure is the following code:
> if (VObjectPtr(fld).PointedObject <> boA) and
> (VObjectPtr(fld).DeletionControl <> kV_Cascade) then
> One_TEST_FAIL("Parse Dump : Check param " + fld.name )
> end if
>
> The exact problem is "VObjectPtr(fld).PointedObject". I'm sure that
> "VObjectPtr(fld).DeletionControl" will also be a problem.
>
> How can I write this in Valentina 2.0 syntax? Casting seems to be the
> main issue.
I have not understand problem.
You cannot cast ?
Or what ?
--
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-beta
mailing list