Difference between revisions of "Declaring variables"
Jump to navigation
Jump to search
m
no edit summary
imported>JOG |
imported>JOG m |
||
Line 12: | Line 12: | ||
</pre> | </pre> | ||
A local variable can be placed anywhere within the script code, it only needs to be declared before the first command that uses it. Usually you declare all variables on top of the script, though, to improve the script's readability. | |||