oDCo,
You must not be reading the manual correctly, or it is a misprint. However, arrays are
global, and can be effected from within any area of your code. Now, local variables within a function will not change any non-array variable which is anywhere else inside of the program. Any normal variable cannont be affected by the variables inside of a function, unless you asign the return value of the function, to the variable. Even if the variables have the same name.
For example:
sync on:sync rate 60
a = 10
REM << main loop >>
do
runfunction()
print a
sync
cls
loop
REM << functions;local variable above will not be affected by the calculations in this function
REM << Though the variable names are equal, they are both local and cannot affect eachother
function runfunction()
a = a * 10
endfunction

+NanoBrain+