My point was that might actually be faster, and there is no reason to believe that fields on an object would be any faster than passing parameters to a function.
Ah OK, I didn't try with PURE globals as opposed to globals in a type. The thing is the method I was testing was part of the same type so I assumed it would be easy for the compiler to reference the type's globals. There are some things you can't do with embedded functions, but they are supported
I'm 100% sure it didn't work before. I ought to find my bug report/post via a search. I was probably doing something that isn't supported. I think you are not allowed to have a sub-function in a method of a type something like that.OK found it:
http://www.blitzbasic.com/Community/posts.php?topic=63020#704731