Go for: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
=Overview= | =Overview= | ||
A <tt>for</tt> statement specifies repeated execution of a block. For more details on blocks, see [[Go Concepts - Lexical Structure#Blocks|Go blocks]]. | |||
The iteration is controlled by a condition, a "for" clause, or a "range" clause. | |||
=<tt>for</tt> Controlled by a Condition= | |||
=<tt>for</tt> Controlled by a "for" Clause= | |||
=<tt>for</tt> Controlled by a "range" Clause= |
Revision as of 05:17, 23 March 2016
External
- Language Specification for Statements https://golang.org/ref/spec#For_statements
Internal
Overview
A for statement specifies repeated execution of a block. For more details on blocks, see Go blocks.
The iteration is controlled by a condition, a "for" clause, or a "range" clause.