ANY-maze Help > The ANY-maze reference > The Protocol page > The elements of a protocol > Testing > Procedures > Running procedures > Errors and warnings while running a procedure > Warning: The parameter to the function was a negative value

Warning: The parameter to the function was a negative value

Description

The Sqrt mathematical function acts on a value that must be greater than or equal to zero. If it is given a negative value, the result is undefined.

When used in a procedure, if the expression used in the Sqrt function is negative, this warning will be generated and the function will return #N/A.

See also:

 Errors and warnings while writing a procedure 
 Errors and warnings while running a procedure 
 Mathematical functions and operators 

© Copyright 2003-2026 Stoelting Co. All rights reserved

ANY-maze help topic T0553