## 4. List data

Lists are sequences of primitive data, usually integer numbers, but elements may also be floating-point numbers, character strings, or text strings. Lists are enclosed by square brackets. Example:

[ 1 2 3 4 ]

For longer lists, ranges can be specified inside the list. Example:

[ 1 10/20 45 46 50 ]

generates a list of integers in the form of

[ 1 10 11 12 13 14 15 16 17 18 19 20 45 46 50 ]

A step size can optionally be specified. The following

[ 1 10/20/2 45 46 50 ]

generates a list of integers in the form of

[ 1 10 12 14 16 18 20 45 46 50 ]