Image handles in global types don't work?

Blitz3D Forums/Blitz3D Programming/Image handles in global types don't work?

i think that

function loadinterfaceImage(filename$) 
theInterfaceGlobals = new interfaceGlobals 
theInterfaceGlobals\interfaceImage = loadimage(filename$) 
end function


Would make that type variable a local one. Usually any variables created in a function will become local, and override any global ones.