Most studies are adjustable in terms of length, bounds, or levels. You can create an adjustable parameter for your thinkScript® study using the input reserved word.

When defining inputs take the following notes into consideration:

  • Inputs are displayed on the GUI in the same order as they appear in the source code.

  • input test = "test in lowercase";
  • input TEST = "test in uppercase";
  • Inputs can't have empty spaces in their definitions. The following code will result in compilation error.

  • In order to have titles displayed on the GUI with spaces you can do one of the following:

  • input "input name with spaces" = "ERROR";
  • input input_name_with_spaces = "OK";

Find the full list of inputs in the following list: