DateTimes, LLongs and other 8-byte fields.
Charles Yeomans
yeomans at desuetude.com
Thu Nov 17 11:55:17 CST 2005
On Nov 17, 2005, at 2:28 AM, Ed Kleban wrote:
>
> I see that there are casting functions for the VCursor class, which I
> understand are for moving values between a Cursor and a Table's
> Vfields.
>
> But what I don't find are any functions to assist with getting 8-byte
> values
> into and out of RB variables.
>
> For example, How do I get the high vs low four bytes of an LLong or
> ULong
> field? The only mechanism I see for this is GetString an SetString,
> which
> is a bit perplexing. I use Valentina to do a super fast lookup of my
> data
> to get it into a current Table record or into a Cursor, but then I
> have to
> convert a binary value to a string which I then have to chop up with
> string
> operations and convert back to a binary value to use?
>
> Yuck! ... or am I missing something here?
I think you're working too hard. Valentina is extremely fast, so
perhaps you might first write simpler code and Valentina supply the
speed.
--------------
Charles Yeomans
More information about the Valentina
mailing list