Advertisement

Array trailing comma

Started by October 03, 2014 05:38 PM
11 comments, last by theoutfield 10 years 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?

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

Advertisement

Thanks Andreas!

I'll try this out next week.

This topic is closed to new replies.

Advertisement