TLists as field?

BlitzMax Forums/BlitzMax Programming/TLists as field?

eindbaas(Posted 2006) [#1]
I'd like to have a type with a Tlist as a field, but for some reason i can't get this to work.

I want to be able to create a Live-O-Matic object, and add as much sequencers to it as i need. I don't get any errors, but the countSequencers function keeps saying the list contains 0 elements. What am i doing wrong here?




rdodson41(Posted 2006) [#2]
Because you arent returning any value. You probably want to try "return CountList(sequencerList)".


eindbaas(Posted 2006) [#3]
erm....for some reason i think i could've thought of that myself :)

shame on me

thanks though ;)