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 ..
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 ..