This may appear in 7.5 but I haven't tested yet, nor could I find a thread with a similar bug.
In this example, the subroutine 'declareVariables' isn't called, but variable A and B still become global:
// increase variable A
for n = 0 to 8
addToA()
next
// increase variable B
for n = 0 to 4
addToB()
next
// increase variable C
for n = 0 to 6
addToC()
next
// print results
printResults()
wait key
end
declareVariables:
global A
global B
C = 5
return
function addToA()
inc A
endfunction
function addToB()
inc B
endfunction
function addToC()
inc C
endfunction
function printResults()
print A
print B
print C
endfunction
Any ideas?
A dream is a fantasy, if you achieve that fantasy it was never a dream to begin with.