🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Problem with initializing arrays

Started by
3 comments, last by WitchLord 16 years, 1 month 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?
Advertisement
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

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