Exercises

Exercises

1:

List four things tables are used to create in Lua.

2:

Explain the difference between lua.exe and luac.exe.

3:

Explain the concept of "chunks" in Lua.

4:

Write a quick Lua program that looks for and finds white space within a text string and then deletes it (bonus points!).

Questions and AnswersChapter 7.           Getting Specific with Games in Lua