Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. while( x < employees.length)
  2. {
  3.  
  4.  
  5. if( x == i)
  6. {
  7.  
  8. try
  9. {
  10. newcomp[x] = newcomp[x+1];
  11. newcomp[x+1] = null;
  12. }
  13. catch (Exception ex)
  14. { newcomp[x] = null;}
  15. }
  16.  
  17. if( newcomp[x] == null)
  18. try {
  19. newcomp[x] = newcomp[x+1];
  20. newcomp[x+1] = null;
  21. }
  22. catch (Exception ex){newcomp[x] = null;}
  23.  
  24.  
  25. x++;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement