|
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 expression must have a parameter specified Error: The expression must have a parameter specified
DescriptionThis error is displayed in the list of errors and warnings at the bottom of the procedure editor when a built-in variable or function is used in a procedure that does not have its parameter specified - i.e. the item that it is to be applied to. For example, the Number of visits to a zone built-in variable needs to specify which zone it is - this zone is a 'parameter' to the built-in variable. Any built-in variable or function that requires a parameter must have that parameter specified. ExampleThe following procedure uses two built-in variables; one of them has a missing parameter (i.e. the zone has not been specified), which will result in this error.
Figure 1. The first use of this built-in variable is set correctly; the second has a missing parameter (which zone it is) and will result in this error.
See also:
© Copyright 2003-2026 Stoelting Co. All rights reserved ANY-maze help topic T0511 |