Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/rdml_loop.htm]
You are here:

...

Loop Commands

Commands

Description

IBM i

Windows

Linux

RDML

RDMLX

VLWeb Client

Notes

BEGIN_LOOP

Begin a processing group

Y

Y

Y

Y

Y

Y

 


DOUNTIL

Do until a condition is true.

Y

Y

Y

Y

Y

Y

 


DOWHILE

Do while a condition is true.

Y

Y

Y

Y

Y

Y

 


END_LOOP

End a processing loop

Y

Y

Y

Y

Y

Y

 


ENDFOR

Ends a FOR loop.

Y

Y

Y

N

Y

Y

 


ENDUNTIL

End a DOUNTIL loop

Y

Y

Y

Y

Y

Y

 


ENDWHILE

End a DOWHILE loop

Y

Y

Y

Y

Y

Y

 


FOR

Enables the definition of a looping block of code.

Y

Y

Y

N

Y

Y

 


KEEP_AVG

Keep average of fields

Y

Y

Y

Y

Y

N

 


KEEP_COUNT

Keep count of fields

Y

Y

Y

Y

Y

N

 


KEEP_MAX

Keep maximum of fields

Y

Y

Y

Y

Y

N

 


KEEP_MIN

Keep minimum of fields

Y

Y

Y

Y

Y

N

 


KEEP_TOTAL

Keep total of fields

Y

Y

Y

Y

Y

N

 


CONTINUE

Continue next iteration of loop

Y

Y

Y

Y

Y

Y

 

...