Current Page: NeXtMidas Training Macros - Part 1 (Basics) Loops and Control Structures Loops LOOP
- - - | The `LOOP` Loop: NeXtMidas added the `LOOP` command for compatibility with X-Midas. The X-Midas `LOOP` is similar to the NeXtMidas `DO` loop but with fewer features. A `LOOP` in X-Midas can be translated to a simple `DO` loop in NeXtMidas without loosing any functionality.
          In X-Midas:
          LOOP count index
            ...
          ENDLOOP

          In NeXtMidas:
          DO index 1 count 1
            ...
          ENDDO