FieldDoc:
Two things come to mind, although it's more likely to be the latter
A) The compiler may be getting confused with the clash of Variable and Function names .. ie the function is called LoadMap and theres avariable LoadMap..
B) Load/Save array don't actually treat the array you provide as a starting index, but as a pointer to the array structure it'self. So if you want use the load array commands to merge data, Dbpro's load array command can't do it.
or maybe a combo of both.
Anyway, Something like this should work
Quote: "
Dim MainSave$(100,200,400)
FUNCTION LoadMap(File$ AS STRING)
`LoadMap$ is the full name of the file (including extension)
LOAD ARRAY File$, MainSave$(0)
EndFUNCTION
"
Kevin Picone
Play Basic - Visible Worlds - Kyruss II
[url]www.underwaredesign.com[/url]