DateTimes, LLongs and other 8-byte fields.
Charles Yeomans
yeomans at desuetude.com
Thu Nov 17 16:18:39 CST 2005
On Nov 17, 2005, at 4:12 PM, Ruslan Zasukhin wrote:
> On 11/17/05 7:53 PM, "Ed Kleban" <Ed at Kleban.com> wrote:
>
>>>> Fair enough, especially since I expect there's some simple way to do
>>>> this
>>>> that's not apparent to me. Possibly by mapping a Memory block
>>>> pointer
>>>> to
>>>> the VField or something. I'll run this by Thomas Templeton or the
>>>> NUG
>>>> list
>>>> on RB. Or I see Charles Yeoman is on this list. He'll likely know.
>>>
>>> It's not hard to get the four-byte pieces. Take the string returned
>>> from a LLong or ULLong field, stick it into an eight-byte
>>> MemoryBlock,
>>> then read out the pieces using MemoryBlock.Long.
>>
>> Ah! So the string returned by GetString is a binary string. Doh! Of
>> course
>> it is. I was thinking it would be a printable numeric for some stupid
>> reason. That's the problem with having at least 5 overloaded uses for
>> the
>> term "string".
>
> Wait guys.
>
> longFld.GetString()
>
> Return normal string. Not binary
Could you be more precise? What, exactly, does LLongFld.GetString
return?
--------------
Charles Yeomans
More information about the Valentina
mailing list