View Single Post
Old 07-23-2022, 10:15 AM   #7
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 549
Karma: 1717097
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by chaley View Post
Code:
program:
	icon1 = if $$#myint != 'none' then 'cry-icon.png' else 'dictionary.png' fi;
	icon2 = if $$#mybool != 'true' then 'arrow-down.png' else 'arrow-up.png' fi;
	icon1 & ':' & icon2
Thank you so much again!

Code:
program:
	icon1 = if $$languages == 'englisch' then 'uk.png' else '' fi;
	icon2 = if $$#read == 'true' then 'ok.png' else  '' fi;
	icon3 = if $$#redl == 'true' then 'auto-reload.png' else '' fi;
	icon4 = if $$#toread == 'true' then 'reference.png' else '' fi;
	icon1 & ':' & icon2 & ':' & icon3 & ':' & icon4
I don't get language to work and not a 3x condition for #read (true, false, not defined).
Wiggo is offline   Reply With Quote