Crash when passing array using VAR

BlitzMax Forums/BlitzMax Beginners Area/Crash when passing array using VAR

Neil Harris(Posted 2005) [#1]
Any idea what's wrong with this? When I try to compile it I get a "Microsoft bug report" style crash...

Global pdata:Player[200]
loadplayer(pdata:Player[..])

Function loadplayer(pdata:Player[] Var )
Print "here"
End Function

Type Player
Field name$
End Type

If I don't use Var then it works.
If I pass single array objects and use Var, it works.