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

Home › Miscellaneous Keywords › For

For

Control flow statement, open statement clause, or operator depending on context.

Syntax

For iterator = startvalue To endvalue [ Step increment ]
Open [ device ] "filename" For filemode As #handle
declare operator For ( byref stp as datatype )

Remarks

See also

Examples

See example at For...Next.


Category: Miscellaneous Keywords
Kind: keyword


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