Quote:
Originally Posted by ownedbycats
Thank you. That also seems to get the 50/100 example though. I'll see if math functions might help here.
|
Sorry, I read "less than" not "one less than". The prototype template would be:
Code:
program:
t = $#tool;
if '/' in t then
f = re(t, '(.*)/.*', '\1');
s = re(t, '.*/(.*)', '\1');
if (s - f) ==# 1 then
'icon.png'
fi
fi