simple structure question

BlitzMax Forums/BlitzMax Beginners Area/simple structure question

new stars[num] does only initialize the array. it does not create any object.
You have to create the objects first through

for local i:int = 0 to num-1
star[i] = new stars
next


For questions on array: the help explains how multi dimensional arrays work with a nice example :)

EDIT: fixed an error in my text.