<pre>function getMenuItems  toComputer  repeat with x = 1 to the number of lines of the menus    repeat with y = 1 to the number of menuItems of menu x      if char 1 of menuItem y of menu x is not "-"       and menuItem y of menu x is not a number      then put menuItem y of menu x & return after ItemsMenu    end repeat  end repeat  return ItemsMenuend getMenuItems</pre>