Garbage Collection ?!

BlitzMax Forums/BlitzMax Beginners Area/Garbage Collection ?!

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.

An object is made available for collecting when the last remaining pointer to it goes out of scope or is nulled.
I believe there is some 'objects to release' count which dictates when GC is run 500?) so, in your code, GC will not run.
Print creates an object internally so always makes things look odd.
Try the same code bu use a large counter or a while/wend loop and you should see the GC numbers cycling.