Lists

BlitzMax Forums/BlitzMax Beginners Area/Lists

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.

So I can do something like:
Method AddSubSkill(NewSubSkillName:String, NewSubSkillValue:Int)
Local NewSubSkill:TSkill    'A Type that contains a value, and a Name.
NewSubSkill.Name = NewSubSkillName
NewSubSkill.Value = NewSubSkillValue
ListAddLast SubSkills, NewSubSkill
End Method

And that would work?