Types Variables and Constants
-
About Types, Variables and Constants
If you need to calculate a value and save it for online reporting, for data exports or for use in the survey logic, you can store it in a hidden quest...
-
Naming
Variable and constant names in script nodes and question IDs in Forsta Plus begin with an upper- or lowercase letter (a-z, A-Z) or an underscore () and...
-
Data Declaration
When using either the JScript or JavaScript engine, you must specify the name of each variable that the script will use. For JScript in particular, you may ...
-
Undefined Values
When using the JavaScript or JScript engines, if a variable is declared without assigning a value to it, and the data type is never declared, then the defaul...
-
Null
null is used as "no value" or "no object". In other words, it holds no valid number, string, Boolean, array, or object (array and objects are complex data ty...