type casting in API

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jan 17 09:51:58 CST 2005


On 1/17/05 9:22 AM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

> Hi Ruslan and list,
> 
> I noticed in the API examples that fields are not type casting as in
> cursors.

Oliver, 

Type casting methods ALREADY present in the Vtable class


> Then, it is not better to put ? :
> 
> table1.stringfield("string1").getsring
> 
> On the place of
> 
> table1.field("string1").getsring.

You can use any way you prefer or which is faster for your task!


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