Error 50. Optimization parameter minimum value must be less than or equal to maximum and step parameter needs to be greater than zero

This error occurs when AFL's Optimize() function is called with minimum value greater than maximum or step less not greater than zero

Example:

period = Optimize("Period", 1, 20, 10, 1 ); // WRONG: minimum > maximum
period2 =
Optimize("Period2", 1, 10, 20, 0 ); // WRONG: step = 0