dim Value[1048576]
Looks like you are mixing up your 2 array varieties.
Should be:
Dim value(1048576)
or
Local value[1048576]
Arrays are faster as far as I remember. But there isn't that much in it.
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.