Isnt file a local and should be then removed by flushmem?
Yes, file is local. However as skidracer pointed out it is an integer reference, and not an object reference, thus the garbage collector cannot know when it is "safe" to free the memory. Help, my memory is slowly slipping away..
BlitzMax Forums/BlitzMax Beginners Area/Help, my memory is slowly slipping away..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.