🎉 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!

Array trailing comma

Started by
11 comments, last by theoutfield 9 years, 7 months ago


I've added the engine property asEP_DISALLOW_EMPTY_LIST_ELEMENTS

So if this remains false, what is the expected behavior for trailing commas? Will an extra element still be created or no?

Advertisement

It remains the same. The empty entries (including the one after the last comma) are counted as real elements, just filled with default values.

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 Andreas!

I'll try this out next week.

This topic is closed to new replies.

Advertisement