Also:
Code:
program:
input = $#kobobookmark;
a = re(input, '.*\/file(\d+).*', '\1');
status = $#fanficstatus;
ccount = $$#chaptercount;
if
$#fanficcat
then
if
!status inlist 'Anthology,Oneshot'
&&
substr(input, 0, 10) == 'OEBPS/file'
&&
$#currentlyreading
then
strcat(format_number(subtract(a, 1), '{0:,d}'), '/',ccount)
else
ccount
fi
elif
ccount >#1
then
ccount
fi
I might've asked this before, but does it do all the checks, or only continue the check when it passes the other ones?
If the latter, since #currentlyreading is another composite (psuedobool, it returns 'true' if it passes certain checks), would putting it last be better practice for performance?
Also, are there any other improvements that can be made to this? I notice there's a slight delay whenever the column updates. I've thought of taking out the #currentlyreading check and instead just having it run its checks directly, but I'm not sure if that would help or if there's a better way.
description of template: