continue considerations for Console UI

In the context of Console UI, you can use the EGL continue statement to continue an openUI statement. The continue statement ends processing within an onEvent block and causes EGL to review the available onEvent blocks for a new match.

For the syntax and core behavior of this statement, see continue.

Example

The following example illustrates the use of continue in an openUI statement:
openUI{setInitial=YES, bindingByName=YES} activeForm bind sel
  onEvent(AFTER_OPENUI)
    for(i from 1 to max_index by 1)
      if (array[i] == -1)
        continue openUI;   // end of usable data in array
      else
        array[i] = 0;
      end // if
    end // for
end // openUI

By specifying continue openUI, the continue statement exits the onEvent loop rather than returning to the top of the for loop (as in a case without the openUI modifier).


Feedback