View Single Post
Old 04-10-2022, 10:07 PM   #372
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,110
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Would the latter one be a bit better for performance? $#kobostatus is enumerated.

Code:
program:

	if $#kobostatus=='[Send to Device]' then 'No'
	elif $#kobostatus then 'Yes'
	fi
Code:
program:

	if $#kobostatus
		then 
			if $#kobostatus == '[Send to Device]' then 'No'
			else 'Yes'
		fi
	fi

Last edited by ownedbycats; 04-10-2022 at 10:11 PM.
ownedbycats is offline   Reply With Quote