Explain that?
Is it because, now global, the compiler doesn't know what other linked program might access that image so *has* to include the loadimage?
If you run...
Graphics 640 , 480 GCCollect() Print GCMemAlloced() Local image:TImage = LoadImage("thisimageexists.png") ' global image:TImage=loadimage("thisimagedoesnot.png") GCCollect() Print GCMemAlloced()
you'll notice they use the same mem allocation.
Notice in debug mode that the image is ALWAYS loaded and the memory always changed.
It makes sense to me but it's all theory.