Programming Course for Beginners - ZedLX

The Easiest Online Computer Programming Course, for Free

Statement Lists [2/7]

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.