events

BlitzMax Forums/BlitzMax Beginners Area/events

That example is not that useful to me..

Globals are evil and should be avoided.. :(

it should be like this:

Local t:test=test.create(win)

And obviously in the EventHook function there can't be a reference to that global t ..