What is the purpose of EVFlag.fMethod ?

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Tue Mar 29 01:45:22 CDT 2011


On 3/28/11 12:48 PM, "Francois Van Lerberghe" <fvanlerberghe at freegates.be>
wrote:

Hi Francois,
 
> I'm using Valentina with Realbasic.
> I wonder what is the purpose of EVFlag.fMethod

 
> If I want to create a method field using the class way, I may write :
> 
>     num = new VULong(  "myNumericField", EVFlag.fNone, "myStringField" )
> 
> Or, must I write :
>     
>     num = new VULong(  "myNumericField", EVFlag.fMethod, "myStringField" )
>                                                 ^^^^^^^
> When must I use EVFlag.fMethod ?

No need to specify it.

The fact that method formula presents is enough.
This flag will be set ON internally by engine.

Later you can check it if you want ..


Hmm, we have also Vfield.IsMethod property in V4RB API.
Actually this property checks fMethod flag ...

So for V4RB API it is redundant.
It have come from low level C++ API.

 
> Thank you in advance.
> 
> François Van Lerberghe
> Rue Thier Monty, 15 A
> 4570 Marchin
> Belgique
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
> 

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