View Single Post
Old 03-17-2017, 10:13 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
@oren64: I was thinking of doing it in the template. So something like:

Code:
program:
	test(
		or(
			strcmp(field('series'), 'Nebula', '', 'Y', ''),
			strcmp(field('series'), 'Hugo', '', 'Y', ''),
			strcmp(field('series'), 'Clarke', '', 'Y', ''),
			),
	'Award Winners',
	'')
But yours is easier to read. And if easier to extend to add another award or set of awards.
davidfor is offline   Reply With Quote