View Single Post
Old 12-12-2021, 08:07 PM   #221
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
Quote:
Originally Posted by chaley View Post
No. There isn't any range testing operator.
Would adding a range operator test make sense? I'm not sure how much need there is for one, considering $$#percentread >=# 1 && $$#percentread <=# 99 does the job well enough.

EDIT: Also, not exactly template-related, but do I need to use "add icon" button to properly add the icon, or will just throwing the file into cc_icons folder work? Mostly because "add icon" isn't accessible via the stored template dialog and it really doesn't make much sense to add it there.

ANOTHER EDIT: Is there a better way to phrase this 'if #number is defined as 0' template? One of my templates was misbehaving a bit with an undefined #percentread...

Code:
program:
	if $$#number==# '0' && $$#number !='None' then 'True'
	fi
STILL ANOTHER: Is it intended that custom functions appear as normal text in the template tester?
Attached Thumbnails
Click image for larger version

Name:	2021-12-13 08_48_48-Window.png
Views:	784
Size:	3.0 KB
ID:	190807  

Last edited by ownedbycats; 12-13-2021 at 07:49 AM.
ownedbycats is offline   Reply With Quote