Creating an array

BlitzMax Forums/BlitzMax Beginners Area/Creating an array

JBR(Posted 2012) [#1]
Hi, when you create an array is it reasonable to assume all entries are 0.

Or should we fill them in to be sure.

Thanks
Jim


GfK(Posted 2012) [#2]
If its an array of ints they will be zero.

Not sure on strings, probably null since strings are objects. Any custom types will definitely be null and you'll need to instanciate each in turn.