What's the difference between this code?

BlitzMax Forums/BlitzMax Beginners Area/What's the difference between this code?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

right now, you can use self in functions, its a bug in the compiler.

With 1.26 an onward you won't be able anymore. There is no instance that the function is called from, therefor self is always 0 and will bomb.
Don't use self and just call the function name (unless you have different scopes with the same, then use Typename.Functionname) if you don't want to rewrite your code in the future.