Array scope problem...

Blitz3D Forums/Blitz3D Beginners Area/Array scope problem...

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

In my main program module i have definied two array

Dim SinTbl#(359)
Dim CosTbl#(359)
Include "2DFunctions.bb"

from the blitz manual

"Arrays are global, and must be defined in the main program."

but if i use the array SinTbl or CosTbl in a secondary module "2DFunctions.bb" (a secondary file with some function that refer to SinTbl and CosTbl) the compiler give me the error: function SinTbl not found! (same things with CosTbl)

Why? Help Me!!!
(NB. i use BB3D 1.87)

thanks!!!
CIAO!