View Single Post
Old 02-23-2021, 04:27 AM   #362
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by capink View Post
Thanks for both. I don't seem to know how to use the new for loop. I am trying to modify your previous template to this:
The syntax is
Code:
	for a in authors separator '&':
I used the keyword 'separator' to remove some ambiguity in the language parser. Note that the 'thing' following the keyword is an arbitrary expression. You can do something like this, admittedly a bit strange:
Code:
	for a in authors separator if something then '&' else ',' fi:
chaley is offline   Reply With Quote