TList help

BlitzMax Forums/BlitzMax Programming/TList help

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.

Hmm also, when you COMMENT or UNCOMMENT the line,
ListAddLast list,New rat

within the loop, AND UNCOMMENT 1 of the lines
ListAddLast list,New rat

outside the loop, it gives the same result of ending with a display of
Rats forever breeding!
1
DONE? rats are not asexual

Process complete

edit
However, if both the lines outside the loop are uncommented and the line within the loop is commented, the result is
1
2
DONE? rats are not asexual

Process complete


which is expected.