>if( *(dataPtr+OffsetToDouble1) < *(dataPtr+OffsetToDouble2) )
>{
>    return -1;
>}
>
>Can I do something like this?  I think you get my drift.  If not

I don't see any way that this will work--how does the compiler know what
you're comparing?

I'm not a real C gearhead, so this may be misleading, but perhaps this will
work:

>if( ( double ) *(dataPtr+OffsetToDouble1) < ( double )
>*(dataPtr+OffsetToDouble2) )

Since we normally use a record compression scheme, we usually have to
uncompress and extract what we're comparing, so we sidestep your whole
question.

Regards,
Steve Mann

-------------------------------------------
Creative Digital Publishing Inc.
1317 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.788.0138            805.593.3811 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com


Reply via email to