V4RB b4, VField.Value as VARAINT

Ruslan Zasukhin sunshine at public.kherson.ua
Thu May 27 18:17:53 CDT 2004


Hi guys, 

Forget to mention.

Note that example AddDeleteRecords demonstrate new feature

    Vfield.Value as Variant.


As you remember, in 1.x (and in 2.0 of course also)
Each field class have property Value of correct type

    Vlong.value = 5

This functions are FASTER !!! than variant usage.

But variant is more simple and may be some of you will find it more
comfortable for use

compare:


    curs.ULongField("a").value = 5

To variant way
    
    curs.Field("a").value = 5


You do not worry about field type.


Also Variant way make V4RB more close to RBDB in syntax.


-- 
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