Iteration on a list

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Iteration on a list

  • Creator
    Topic
  • #47626
    Anonymous
    Participant

      I’ve set up an iteration with a basis as a list.  The iteration list basis is something like “0 1 2 3 4” with a variable of %l1.  I want to be able to access that iteration list variable number each time I pass through the iteration.  Is there an easy way to do this or should I just set up some type of counter.  Please send any responses to trioux@tmh.tmc.edu

      Thanks…

      Tom Rioux

    Viewing 0 reply threads
    • Author
      Replies
      • #56298
        Mark Thompson
        Participant

          Tom,

          If you use %l1 for your iteration variable, you can access it with:

          COPY $%l1 @myvar

          - Mark Thompson
          HealthPartners

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.