<pre>on uncheckMenuItems menuName  if menuName is empty then return "Err:Specify menuName"  if there is not a menu menuName then return "Err:No such menu"  if the number of menuItems of menu menuName < 1 then return "Err:Empty menu"  repeat with x = 1 to the number of menuItems of menu menuName    set checkMark of menuItem x of menu menuName to false  end repeatend uncheckMenuItems</pre>