And when you insist on globals, at least don't waste your namespace and do something like this:
Then it'll all only cost you one variabele in your namespaec. A variable you can easily pass as function argument even.
Type TImagepool Field image1:timage=LoadImage("C:\Bmaxdev\oO\1.PNG") End Type Global imagepool:Timagepool=New TImagepool Print ImageWidth(imagepool.image1)
Then it'll all only cost you one variabele in your namespaec. A variable you can easily pass as function argument even.