ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Setting up a procedure > Procedure is a sub-procedure

Procedure is a sub-procedure

In brief

You can use the check box on the procedure's settings page to specify that a procedure should be a sub-procedure. A procedure flagged in this way will not run directly during a test, but will only run if it is specifically invoked by another procedure.

Details

A sub-procedure can be used to make a procedure easier to understand by moving chunks of code into their own self-contained units. This is particularly useful if you have similar code that is called more than once in the same procedure, or even called from more than one different procedure. These self-contained units are called 'sub-procedures' and it is here that you specify that a procedure will be used in this way.

For more information, see Re-using parts of procedures.

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0455