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: Cannot use treatments within this procedure - the protocol has been set up not to use treatments

Error: Cannot use treatments within this procedure - the protocol has been set up not to use treatments

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when the procedure attempts to use the Treatment built-in variable, but the Treatment groups element of the protocol has been set up not to use treatment groups.

More information

If the protocol has been set up to not use treatment groups, the Treatment built-in variable will not be available to the procedure. However, it's possible to import a procedure created in a different protocol, which might contain this built-in variable.

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Treatment groups  

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0525