Can't Dim an array inside a Function?

Blitz3D Forums/Blitz3D Beginners Area/Can't Dim an array inside a Function?

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 Blitz3D do all arrays have to be created inside the main part of the program? I just tried to create one in a function and it said array doesn't exist?