I created a TV with an EVAL expression but it seems that if I enter a line break in the textarea, the expression is not evaluated fully.
Working example:
@EVAL $a = 'a';$b = 'b'; return $a.$b;
returns "ab".
Not working example:
@EVAL $a = 'a';
$b = 'b';
return $a.$b;
This way the code can be used (if put in one single line) but is not readable any more. Is there any oter solution?
Call of a function that returns the string I need? How do I include this code, as a snippet? How do I execute it for a TV?
I want to have a drop down TV containing all the filenames in a certain folder and I guess this is te best way.
TIA, AndraZ