Advertisement

Problem with initializing arrays

Started by May 23, 2008 08:19 AM
3 comments, last by WitchLord 16 years, 5 months ago
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

Advertisement
Thanks, Is the next version will be fixed it?
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

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