Loops

forevery

Walk each element of an array.

Syntax

forevery(define <type> <item> within <array>);
    ...
end;

How she behaves

  • The item variable is declared in the header.
  • within names the array to walk.

Example

forevery(define str name within names);
    showln name;
end;

See also