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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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