This is to allow procedural programming for those who want to program in the "old blitz way".
Hopefully Mark can clarify this.
In any case, I would like to see an option to disable it. In order to perform this kind of conversion in 'extra-strict' mode:
global img=(int)LoadImage(fileName)