12-30-2013, 11:20 PM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Dec 2003
Device: Toshiba E755
|
bitwise operator search
HI All,
Is there a possibility in the search or advance search to utilize bitwise operators during a search in calibre. I' want to utilizing a integer field, and use bitwise operators to embed flags and able to search for the states. Thanks! Laz. |
12-31-2013, 06:35 AM | #2 | |
Grand Sorcerer
Posts: 11,939
Karma: 7219261
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I do wonder why you want to do it with integers. Wouldn't using a custom column "like tags" with the flags as strings do the same thing in a much more readable way? Something like "#state:=read and #state:=purchased" instead of "(state & (READ|PURCHASED)) == (READ|PURCHASED)" |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 | crutledge | Kindle Books | 0 | 05-24-2011 08:30 AM |
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 | crutledge | ePub Books | 0 | 05-24-2011 08:28 AM |
Other Fiction Packard, Frank L: The Night Operator. V1. 24 May 2011 | crutledge | BBeB/LRF Books | 0 | 05-24-2011 08:27 AM |
Forum operator sued for a wrongful username | Alexander Turcic | Lounge | 8 | 06-12-2005 08:24 PM |