Algosim documentation: ForEach

ForEach

Evaluates an expression for each element in a container.

Syntax

Description

ForEach(X, x, exp) evaluates expr(x) for each x in X and returns null; hence, it is used for its side effects.

See also