TLists as field?
BlitzMax Forums/BlitzMax Programming/TLists as field?
| ||
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? |
| ||
Because you arent returning any value. You probably want to try "return CountList(sequencerList)". |
| ||
erm....for some reason i think i could've thought of that myself :) shame on me thanks though ;) |