The VScript Book

Part 1 Final Exam: Data Structures in Squirrel

You've explored the two most important data structures in Squirrel: Tables for flexible key-value storage, and Arrays for ordered lists.

This exam will test your understanding of how to create, modify, and access data within these structures, and the key differences between them. Mastering these is essential before you can start connecting your code to the game world.