Learn to Program with ZedLX

Free Online Programming Course for Beginners

Statement Lists [2/5]

If a for loop needs to repeat a single statement only, a statement list can be used instead of a statement block.

A statement list begins with a colon (:) symbol.

Statement lists are a feature of ZedLX. They are not available in most other programming languages.

Loading...