new / improved action tools

By J. on 21 May 2010

What I like to see:

switch
to be able to set the labels of the conditions instead of seeing 1,2,3,4 and otherwise

do/while/do or  for-loop
I really would like to see a simple do/while on a condition, instead of a cumbersome if statement. the "cycle" note is a nifty feature with it.
wether is should be a for-loop with just an integer or a do/while I don't mind.
except for esthetics perhaps, because I don't like "breaking" out of a for-loop


Gary McKay25 May 2010

Yeah, I agree an Do/While or For Loop would be good.

I would love to see perhaps even a Do CASE Statement:

DO CASE
     CASE <lCondition1>
        <statements>...
     [CASE <lCondition2>]
        <statements>...
     [OTHERWISE]
        <statements>...
     END[CASE]


Case could be possible with a switch but a do-while would be a great one!
When are we going to get these?

I've been asking for them since version 3.1 (or even earlier...)

Sure, most of the time the for-each loop works but sometimes the solution just looks wierd and would be *a lot* simpler -- read: lower maintenance -- with a for loop.

Merged from 'For loops' (idea created on 2010-06-08 10:28:46 by Carlos Fonseca), on 2010-07-08 16:26:14 by Paulo Tavares
J.14 Jun 2010
Isn't this simlar to this idea http://www.outsystems.com/wisdomofthecrowds/IdeaComment_List.aspx?IdeaId=173 ?


Merged from 'For loops' (idea created on 2010-06-08 10:28:46 by Carlos Fonseca), on 2010-07-08 16:26:14 by Paulo Tavares
Tiago Bernardo6 Aug 2013
Right now I need to transverse a record list _backword_ and a "for each, backword" action tool would come very handy.
Or a "for-loop".