I never understood why you have to omit the () when using a on_xx command.

Is it because with (), the function will be executed and it's return value will be assigned to on_xx. So without the (), you are passing a pointer to the function?



Last edited by DJBMASTER; 07/22/09 15:08.