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 continue with letters (a-z, A-Z), digits (0-9) or underscore ().
Examples of variable names:
countermakeMoreMoneycar123_tempiThinkThisIsReallyBoring
Note: Variable names are case sensitive, so makeMoreMoney and MakeMoreMoney are not the same variable. This is a very common mistake.
Even though variable and constant names can start with uppercase letters, it is recommended to follow the convention of always starting variable and constant names with a lowercase letter. This to easily distinguish it from for example functions, where the convention is to start with an uppercase letter. Variable and constant names should be made as descriptive as possible. For example instead of using names like x and y, you should try to describe what they refer to, e.g. sumOfAllElements or code. When a variable or constant name consists of several words, each new word is usually started with an uppercase letter.
There are some reserved words that cannot be used as question IDs in Forsta Plus-, and some that cannot be used as variable or constant names in script nodes. See the Authoring or Survey Designer documentation. In addition, you cannot use names of functions (either the Forsta Plus provided functions described in this documentation, or functions you define yourself in script nodes (go to About Functions for more information).