View Single Post
Old 12-25-2020, 06:13 PM   #1
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Missing fi in if/then/else statement

Code:
program:
if check_yes_no(field('#onkobo'), '', '1', '') 	then 'sync.png'
     else
     if check_yes_no(field('#onkobo'), '', '', '1') then
		  if str_in_list(field('#kobocoll'), ',', "Kobo Store", '1', '')  then 'drm-locked.png' fi
			else 'reader.png' fi
This has error of a missing fi. Got EOF errors trying to figure out where it goes. Where do I put it?

Last edited by ownedbycats; 12-25-2020 at 06:31 PM.
ownedbycats is online now   Reply With Quote