OpenWGA 7.6 - OpenWGA Concepts and Features

Design and development » TMLScript » Items, metadata and variables in TMLScript

JavaScript variables

Of course TMLScript is also capable of creating and handling normal JavaScript variables whose declaration is introduced by the "var" statement:

var jsvar = 1;

JavaScript variables differ from WebTML variables in their scope, which is limited to the current script only. They therefor are suitable to store temporary values of calculations which should be gone once the script is finished.