Versions Compared

Key

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

7.62 FOR

Note
titleNote: Usage options

The FOR/ENDFOR command enables the definition of a looping block of code which can be used to iterate through user-defined collections and collections provided by LANSA.

...

7.62.2 FOR Examples

7.46 ENDFOR

Panel
bgColor

                                                           Required       

#ffffcc

                                                                                        Required                                                                                 

       FOR    --- EACH --------- #VariableName ------------------->       

...

                                                                          

...

                                                                    

                >-- IN --

...

---------- #Expression ---------------------

...

                                                                          

                                                           Optional       

...

--->                                                                                

                                                                                       Optional       

              >-- KEY------------ #KeyVariableName ----------------

...

>                                                                                 

...

             >--

...

OPERATION----*DEFAULT ---------------------------|       

...

                                            *INSTANCE_OF ---- #ClassName              

...

                                           *KIND_OF -------- #ClassName              

...

                                           *DYNAMIC -------- #VariableName      

      #VariableName           

                                                                          

...