View Single Post
Old 10-10-2013, 02:31 PM   #8
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
Silentguy,
Are you talking about this: Calibre Manual: Creating AZW3, EPUB, MOBI Catalogs>Prefixes? (I know that seems like I'm asking you to repeat yourself, again. But I'm ignorant here so I'm trying to make sure we're talking about the exact same thing.)

So what I think you're saying is, when it comes to Prefix tests, and values returned by them, the results should be:
  1. Missing test: #read:yes (which would find all yes/true values)
  2. Missing test: #read:no (which would find all no/false values; but not null/unspecified)
  3. Incorrect logic: #read:true (which should return yes/true if a Y or N value is present; false if null/unspecified)
  4. Incorrect logic: #read:false (which should return yes/true if there is a null or unspecified value only; false if there is any other value present)
  5. Incorrect logic: #read:"" or Undefined (which should return the same results as #read:false)
Did I get any part of that correct? If I did not, could you just state which test # is wrong?

I still think this has (peripherally) to do with the decision to go with a tri-state Y/N field. I vaguelly recall that there was some question about logical comparison's at that time, but I cannot recall any other details.

Edit: AHA! My Search-Fu is strong today! Possibly relevant topics:
Opinions wanted on details of new GUI features
Default value for read field (Yes/No-field)
default value for defined y/n column

Last edited by Sabardeyn; 10-10-2013 at 02:50 PM. Reason: Looking for related topics
Sabardeyn is offline   Reply With Quote