Array of Types

BlitzMax Forums/BlitzMax Beginners Area/Array of Types

(tu) ENAY(Posted 2005) [#1]
Doh! can't seem to work out the Syntax of making an array of types. I have this:-

Type Cow
Field moo:Int = 0
End Type

Type Farm
Field farm[10,10]:Cow
End Type



QuietBloke(Posted 2005) [#2]
I think it is :

Field farm:cow[10,10]


(tu) ENAY(Posted 2005) [#3]
Heh. Yep, so it is.

Cheers :)