oop; end loop; if docked then dock; end if; end check_docked; begin put("Impulse (I) or Warp (W) power? "); get(type