I've been looking around, and I can't find a way to create an array like this:
var array:[Int] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0..
without typing a hundred zeros and commas. Is there a simple way to do this? Thanks for your time.
I've been looking around, and I can't find a way to create an array like this:
var array:[Int] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0..
without typing a hundred zeros and commas. Is there a simple way to do this? Thanks for your time.