Ad
Log in to vote
0

Is there any use in declaring a variable local instead of global in the beggining of a script? W

Asked by 11 days ago

I see a lot of scripts having the first variables local, why?

0
Please use the site question search there are a lot of answers for this common question. kingdom5 4360 — 11d
0
you can access global variables anywhere in a script, though for local variables you can only access it inside its scope EXpodo1234ALT 1101 — 11d

Answer this question