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 action/event must be specified

Error: The action/event must be specified

Description

This error is displayed in the list of errors and warnings at the bottom of the procedure editor when an action or event does not contain all the required information.

More information

Some actions in ANY-maze require extra information to be specified; for example, an action to activate an I/O output switch must specify which switch it is. Likewise, when waiting for an event, there are events that require some secondary information; for example the Animal enters zone event must specify which zone it is.

If an action of event does not specify this extra information, this error will be generated.

Example

In the following section of a procedure, the first Wait until statement is missing a zone, and the Action statement is missing the switch that it is to activate.

  

  

Figure 1. A section of a procedure with missing parameters to an event and an action.

The list of errors and warnings at the bottom of the procedure editor will list more specific details of what is missing:

  

  

Figure 2. The list of errors for the procedure in figure 1.

Clicking on the line in the list on figure 2 will highlight the error

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Events available to procedures 
 Actions available to procedures 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0512