Its a simple question, no code needed. When do you use local for variables? For example what's the difference (if there is one) between local x = 10 And x = 10