void local fn MyFunction print @"MyFunction" end fn fn MyFunction HandleEvents