function add(a, b)
return a + b
end
-- creates a function called add, which returns the sum of it's two arguments
Let's look at the syntax.
First, we see a function keyword. Well, that's pretty descriptive. Next we see the add identifier; the name. We then see the arguments (a, b) these c...