View Single Post
Old 07-27-2024, 03:29 PM   #706
foosion
Evangelist
foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.foosion is an enigma wrapped up in a mystery.
 
Posts: 479
Karma: 41524
Join Date: Sep 2011
Device: Kobo Libra 2 & Clara BW
Quote:
Originally Posted by chaley View Post
In Template Program Mode spaces are significant outside the template code. You can't put a space between the colon and the quote.
Taking out the space didn't help. I'm still getting error.

Code:
{#koboreadpct:'cmp($,100,#read,#kobolastread,#read)'}
#koboreadpct is Integers
#read and #kobolastread are both Date

Any of them might be blank.

??

EDIT: The program version worked. I do wonder why the above doesn't.


Last edited by foosion; 07-27-2024 at 03:54 PM.
foosion is offline   Reply With Quote