Concept Flow - Local variables (local keyword)
Start function
Declare local variable
Use local variable
Function ends
Local variable destroyed
Return to main script
Local variable not accessible here
When a function starts, it creates a local variable that exists only inside it. After the function ends, the local variable disappears and cannot be used outside.