Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

What is the local keyword for? [closed]

Asked by
tanzane 100
10 years ago

This question already has an answer here:

"local" in front of variables

I have looked in the Glossary on this website and on the Wiki, I just don't understand what the local keyword is used for "AT ALL."

Marked as Duplicate by BlueTaslem

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 10 years ago

A local variable can be accessed by every function on the script, while a normal variable can only be accessed in the function its in. For more information check the Scripting Helpers " Scripting Glossary "

Ad