Combining ULong

Bart Pietercil bart.pietercil at gmail.com
Thu Oct 4 10:38:32 CDT 2007


On 4-okt-07, at 17:31, Ruslan Zasukhin wrote:

> On 4/10/07 6:24 PM, "Bart Pietercil" <bart.pietercil at gmail.com> wrote:
>
>> Hi List,
>>
>> in order to implement unique in a table I want to combine to object
>> pointers in another field.
>> I had thought to implement this in a field with type ULLong and a  
>> Method
>>
>> concat(objptr_comppool,objptr_module)
>
>        (objptr_comppool << 32) +  objptr_module
>
sorry, I need a bit more explanation (am bad in these bit calc)

the << is a shiftLeft op , right ?

so in the ULLong the first 32 bits are now objptr_comppool
  and then we add ???? objptr_module

TIA

Bart


More information about the Valentina mailing list