View Single Post
Old 10-20-2014, 09:22 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Regarding the save template you want, general program mode allows you a lot more flexibility. You can make arbitrarily complex nested functions.

Code:
program:

strcat(
	ifempty(
		subitems(
			field('#genre'),
			0,
			1
		),
		'Unknown'
	),
	'/',
	field('title')
)

Last edited by eschwartz; 10-20-2014 at 09:24 PM.
eschwartz is offline   Reply With Quote