Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 50094

'Unknown identifier' when using stored template.

$
0
0
This works:

Code:

program: columnupdate_kobopath()
This doesn't:

Code:

program:
       
        if
                $#kobopath == ''
        then
                columnupdate_kobopath()
        else
                $#kobopath
        fi



(context: run the template only if text column #kobopath is empty, otherwise keep what's already in there).

This error happens
Code:

TEMPLATE_ERROR:  Interpreter: Unknown identifier 'columnupdate_kobopath' - line number 6
Is it something I'm doing wrong?

Viewing all articles
Browse latest Browse all 50094

Latest Images

Trending Articles



Latest Images