Ah, rite, btw you could've checked the manual as well eh, there's a clear menu example in there.
You don't use the 'finish' stuff really, you use the ID you give when creating that menus. So, why use this <variable>=CreateMenu ? Simple: you might want to have menus to check or uncheck, then it's handy when you can actually access them using a variable/handle.
Select EventID() ; <- fixed Case $1001 If EventData()=2 Then Notify("See ya!") Delay 500 End EndIf End Select
You don't use the 'finish' stuff really, you use the ID you give when creating that menus. So, why use this <variable>=CreateMenu ? Simple: you might want to have menus to check or uncheck, then it's handy when you can actually access them using a variable/handle.