Summary
In this chapter, we have learned about six out of the eight data types in Lua and the four control structures. We have also learned about local variables and why you should use them. This knowledge will prepare you for the rest of the book.
By now, you should be able to read and understand most of the Lua code out there. Some details and topics were intentionally not included in this chapter. You can study more about them when you encounter them.
In the next chapter, we will learn how to call Lua code from C++.