Problem with initializing arrays
Hi~
A problem has been encountered while initializing a global arrays.
class arrTest
{
}
arrTest var;
arrTest@[] arrVar = { @var };
or
string var;
string@[] arrvar = { @var };
However, it works well in local arrays.
void main()
{
arrTest@[] arrVar = { @var };
}
Is this a bug?
It appears to be a bug. I'll have to look into this.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
Yes, it should be fixed in the next version.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I've fixed this bug now. The fix is available in the SVN (rev 269)
Regards,
Andreas
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement