Skip to content

Iterating Operators

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Operators › Iterating Operators

Iterating Operators

Operators that work with iterator objects

These operators allow objects of user-defined types to be used as iterators and step values in For...Next statements.

Operator For

Allows an iterator a chance to prepare for the loop.

Operator Step

Increments an iterator object.

Operator Next

Determines if the loop should terminate or continue iterating.


Category: Operators


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally