>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
- Using DmQuickSort ?? Michael S. Davis
- Re: Using DmQuickSort ?? Creative Digital Publishing Inc.
- Re: Using DmQuickSort ?? Michael S. Davis
- Re: Using DmQuickSort ?? Creative Digital Publishing Inc.
- Re: Using DmQuickSort ?? Jim Schram
- RE: Using DmQuickSort ?? Richard Hartman
- RE: Using DmQuickSort ?? Jim Schram
- RE: Using DmQuickSort ?? Michael S. Davis
- RE: Using DmQuickSort ?? Creative Digital Publishing Inc.
- RE: Using DmQuickSort ?? Jim Schram
- RE: Using DmQuickSort ?? Michael S. Davis
- RE: Using DmQuickSort ?? Richard Hartman
- RE: Using DmQuickSort ?? Michael S. Davis
- RE: Using DmQuickSort ?? Danny Epstein
- RE: Using DmQuickSort ?? Michael S. Davis
- RE: Using DmQuickSort ?? Danny Epstein
- Re: Using DmQuickSort ?? Jason Dawes
- RE: Using DmQuickSort ?? Michael S. Davis
- Re: Using DmQuickSort ?? Scott Johnson
