Can we do a redef of a variable in side an event ?
I am getting a parse error when i do this.
whereas outside the event/fucntion i am able to do the redef.

redef is a global declaration. It's used to override run-time
initializations, so it wouldn't make much sense as a declaration
local to a procedure.