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 event must have a parameter specified

Error: The event must have a parameter specified

Description

There are several events in ANY-maze that occur for a specific protocol item. For example, the Animal enters zone event must specify the zone, the Sequence completed event must specify the sequence, and the Rotary encoder clockwise rotation event must specify the rotary encoder.

If you've used an event such as these in your procedure, but have not specified the protocol item, then this error will be displayed in the list of errors and warnings at the bottom of the procedure editor when the procedure is checked for errors, or when the procedure error is edited.

The missing parameter will show '...' within the procedure editor; to fix the error, simply click on the drop-down arrow to the right of the missing item and you'll be given a list of possible values to select from.

More information

Everything in an ANY-maze procedure that accepts a parameter (i.e. the thing or things that it operates on) must have all parameters specified. You can't leave any empty 'holes' in any statements of a procedure.

See also:

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

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0507