Dr. Mistral - 2007-10-24

Hello, in the Developer Guide, at the "Writing a Word Template" section how to use the SCRIPT command in a word template is explained.
It seems that the DISPLAY command only accept a pre-calculated variable to be displayed.

Is it possible to call a JScript functions, having parameters, directly from the DISPLAY command?

As for example:

SCRIPT:
function myfunc(a, b) {return a + "--" + b;};

DISPLAY:
;myfunc(1,2); // this gives DISPLAY error!!

Which sintax have to be used??

Thanks in advance