[V4REV] Constants

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Jun 20 13:10:00 CDT 2005


On 6/20/05 12:22 PM, "ron barber" <rbarber at yhb.att.ne.jp> wrote:

> I still am unclear about this notation. It has taken me a little time
> to understand the difference between these two styles:
> 
> EVDbMode    kDscDatBlbInd  = 1   kDsc_DatBlbInd   = 2   kDsc_DatBlb_Ind
>   = 3   kDsc_Dat_Blb_Ind  = 4   kDscDatBlb_Ind  = 5   kDscDat_Blb_Ind  =
> 6   kDscDatInd_Blb  = 7   kDsc_DatInd_Blb  = 8
> 
> EVFlag   fNone      = 0   fNullable     = 1   fIndexed     = 2
> fUnique     = 4   fIndexByWords   = 8   fCompressed    = 32   fMethod
>    = 64
> 
> Those that begin with f can be combined "fIndexed fUnique" as one
> parameter whereas those with k are one single constant. So obvious and
> yet so foreign to my narrow xtalk world and small brain ; )

Ron,

All constants start with 'k'

Only field flags ion historical reason go with 'f'

Here there is no any big idea behind.
Just  fIndexed was more nice than kIndexed.

May be there is sense add kIndexed
and still support fIndexed, but remove it from docs,
So all new developers will write kIndexed...



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