-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Roblox Coding
By :

In this section, we will learn all about tables. We will learn what they are and what they are helpful for. To explain tables, we will take the example of a school system that stores data from its students.
You are probably aware that schools have data on their students. This data varies from your name, your class, and your test results.
Currently, we know of a way to store data. We can do that by using variables. So, let us make a school system that stores data.
For now, let us first focus on the variables:
local STUDENT_NAME_1 = "William" local STUDENT_NAME_2 = "Sophie"
Currently, we have two variables for the first two students. An average class has about 20 students. Therefore, we would need 20 different variables for the first class alone. Now imagine this for an entire school. Having this many variables is very unorganized.
In the following sections, we will learn how to organize this data better by using tables...