Logic

Loops

Top to bottom, and only inside a brace function. 1 example.

A brace function that contains a loop runs from top to bottom. = there assigns a local. It does not write a sheet unknown. On the sheet, for, while, and repeat at the top of the sheet are rejected. The message is that loops are only allowed inside a function. A function with no loop is still solved as equations.

for i = start to stop is inclusive. step defaults to 1 and may be negative. while tests first. repeat runs the body, then tests until. max n on that line stops successfully. With no max, 100000 trips is a calculation error. Solve this with the interpreter or the compiler. The Old engine does not run loops.

Mean, Newton, and a ranged product

The mean of 1, 2, 3, 4 is 2.5. Newton returns the square root of 2. The ranged sum is 30 and the product is 15.

© 2026 QED Solverworks LLC