Sub Globals 'Declare the global variables here. Dim Type(x, y, z)dataEnd SubSub MakeSprite(num) Dim data(ArrayLen(data())) ' FAILS :(End Sub