Products

Home Forums eaDocX queries Using JScript or JavaScript from eaDocX Using JScript or JavaScript from eaDocX

Home Forums eaDocX queries Using JScript or JavaScript from eaDocX Using JScript or JavaScript from eaDocX

#9019
Daniel Sherwood
Participant

Hi – thanks for your response. It appears that the issue is that for VBScript, eaDocX is expecting the ‘return’ value of the script to be stored in a variable with the same name as the script which is achieved as a by-product of setting the return value of the function before the end function call.

JScript and JavaScript use a more traditional ‘return’ keyword to return data at the end of the function call which does not result in passing any information back to eaDocX. I presume this means that it is not possible to support JScript or JavaScript in eaDocX?

If this is the case then I will continue using VBScript – but I’d suggest you make a note of this restriction in your documentation.

Cheers

Daniel

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download