Announcement

Collapse
No announcement yet.

What is purpose of if(opModeIsActive) followed by while(opModeIsActive)?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • What is purpose of if(opModeIsActive) followed by while(opModeIsActive)?

    Some of the example programs have -

    if (opModeIsActive()) {
    while (opModeIsActive()) {

    This seems redundant to me, as it seems to me there is no difference in how the program runs whether the "if" is there or not.
    Am I missing something?
Working...
X