|
ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Writing a procedure using the procedure editor > Errors and warnings while writing a procedure > Error: The variable passed to the 'Set variable as a test result' action must be a single value variable, set up to be a result for tests Error: The variable passed to the 'Set variable as a test result' action must be a single value variable, set up to be a result for tests
DescriptionA procedure can use user-defined variables to keep track of a procedure's internal status, calculate values, and generally contain any value that you want. Under some circumstances, you might decide that you want the value of a variable to be available as a result of that test. Procedures allow you to achieve this by defining a variable as a 'result variable', which means that the procedure can note its value at any time, and that value will then be available in the test's results.
If you try to use the Set variable as a test result action, and within it you use a variable that has not been set up to be a result variable, then this error will be generated when you check the procedure for errors or exit the procedure editor. See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0515 |