|
ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Elements of a procedure > Statements available to procedures > The Action statement The Action statement
IntroductionThe Action statement allows a procedure to do something that will affect the test. This might be to activate or alter some kind of I/O item, for example, or to pause or end the test itself. Actions can also be used to output some explanatory text to the display, to generate a result that can be used in analysis, or to aid in debugging a procedure. For full details of the actions available to a procedure, see Actions. ExampleIn the following example of a couple of lines taken from a procedure, there are two action statements used, which will execute when the animal enters the 'Centre' zone. The first action will activate the 'Shock floor' output switch, and the second will output some text to the display indicating that this has happened.
Figure 1. An example of a procedure with two Action statements
See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0479 |