Now we will discover how Red works with objects, which is probably different from what you are used to in classical object-oriented languages, such as Java, C#, Python, and Ruby. But first, we meet the make word.
Using objects
The make word
In the Using error? section in Chapter 4, Code-Controlling Structures, we used probe to get more details of a specific error, and this returned an output starting with make error! [ ... ]. The error! is effectively an object that was constructed with make.
It turns out that make can be used to construct a new value for any datatype. It needs the type and, as a second argument, a specification for that type. This can be a value or a memory allocation, or another specification in the case...