Any easier way to make an array of a type?
BlitzMax Forums/BlitzMax Beginners Area/Any easier way to make an array of a type?| 
 | ||
| This is how I create an array of a type at the moment: Type myType Field X:Int Field Y:Int EndType Global Locations:MyType[10] For Local A:Int = 0 To 9 Locations[A] = New myType Next Is there a way to get rid of the For-Next loop part? It gets tedious after a while. | 
| 
 | ||
| Not that i can think of without going inline code, but thats bad programming practice! | 
| 
 | ||
| http://www.blitzbasic.com/Community/posts.php?topic=48085 Current topic have a read |