Contributions
Re: Javascript Samples
I'm afraid so. Though the best approach here would be to configure the values as properties within an object which would mean you would only have to export the object not each value/global. BTW, in addition to the export statement I believe the 'USEUNIT ' command carries across from JScript.1.9KViews1like3CommentsRe: Javascript Samples
Hi Ryan, You need to add 'require' statements to each of the modules (scripts) that you wish to use another module's commands such like the following:- var GlobalValues = require("GlobalValues"); Access to components within GlobalValues is then possible implementing the period notation such like: GlobalValues.[COMPONENT TO CALL] In addition, the module that contains re-usable items will need to 'export' their interfaces such like: module.exports.gTiming = true; Hope this helps?2KViews0likes5Comments