Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. foundSectors = false;
  2.  
  3.  
  4. while not at end of line
  5. {
  6. if (string.Contains("Sectors")
  7. {
  8. foundSectors = true;
  9. }
  10. if (foundSectors == true)
  11. {
  12. // run code since we have found the cell with sectors in it
  13. }
  14. if (string.Contains("Contract")
  15. {
  16. // break out of while loop
  17. break;
  18. }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement