Type in a type

Blitz3D Forums/Blitz3D Beginners Area/Type in a type

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Enay Please do because Im not using an array within a type :)

I simply used an array to make a "flock" of sheep

However look at gittechs code.. you could mod that to have a linked list of sheep each containing 3 badgers

although, GitTech, you dont need to keep doig newbadger.badger= after declaring newbadger as a type badger also why return the badger when you pass in a sheep to store the reference anway and then never use the return value ("because you can" is an acceptable answer, its possible you may which to simultaneously store and return a reference to the last badger created)