expected near 'end' lua
-- Step 1: Define a function named "calculateArea" with two parameters, "length" and "width"
function calculateArea(length, width)
-- Step 2: Calculate the area by multiplying length and width
local area = length * width
-- Step 3: Return the calculated area
return area
end
-- Step 4: Call the function with specific values (e.g., length = 5, width = 8)
local result = calculateArea(5, 8)
-- Step 5: Print the result
print("The calculated area is:", result)
-- Step 6: End of the script