Before getting into real programming, we need to see how we can work with Boolean values and numbers. Red is different from other programming languages, in that it does not impose the usual mathematical evaluation order, so we will take some time to investigate that. Furthermore, we will learn how do and reduce are used to evaluate.
Evaluating expressions and blocks
Some basic operations
What can we do with logical values and strings, and how do we compare values and variables? Let's look at this in the following sections.
Working with Boolean values
You can work...