BindGadgetEvent - Compiler missed check
Posted: Sun Feb 19, 2017 10:24 am
The compiler does not check the correct sintax for the callback function:
Code: Select all
BindGadgetEvent(5,@Button_Callback()) ; Notice the brackets
BindGadgetEvent(5,@Button_Callback) ; Compiler does not give error if brackets are missing!