User:Satiricold/sandbox

Task 1


imgs

Task 2
Q1. What keyword marks the start of a function definition? A1. #invoke

Q2. Which letter is conventionally used in Scribunto modules to hold the table of functions? A2. t

Q3. What keyword marks the end of a function definition? A3. end

Task 5
Q1. What does %w+ match in a Lua pattern? A1. It matches consecutive letters or digits. In the case of the "unpack" function, it matches the month.

Q2. What does %d+ match in a Lua pattern? A2. It matches consecutive digits. In the case of the "unpack" function, it matches the day and the year.

m, d, y = "(%w+) (%d+), (%d+)"