Um, does Print Consume memory then?

BlitzMax Forums/BlitzMax Programming/Um, does Print Consume memory then?

I'm not getting the same result for each of these calls:

Print GCMemAlloced()
Print GCMemAlloced()
Print GCMemAlloced()

Stick a GCCollect() before each one and you get the same values. So print must consume some memory. Worth bearing in mind when writing routines testing memory use!

You're passing the result of GCMemAlloced() as a string which takes up memory.

aha thanks.