Parameter | Data Type | Description |
|---|---|---|
1 | Any | The repeated expression for each returned value. |
Expression | Result |
|---|---|
[ Repeat 2 {Collect( DirectorName )}] | List( "John", "Mary", "Eva", "Michael" ) for the first company, and List( "Ted", "Anthony" ) for the second company |
[ Repeat 2 {Collect( DirectorAge )}] | List( 40, 30, 30, 35 ) for the first company, and List( 35, 30 ) for the second company |
{Collect( DirectorAge )} | List( 40, 30, 30, 35, 35, 30 ) |
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The repeated expression for each returned value. |
2 | Boolean | The corresponding repeated expression which is true. |
Expression | Result |
|---|---|
[ Repeat 2 {Collect( DirectorName, DirectorAge IsLessThan 30 )}] | List( "John", "Michael" ) for the first company, and List( "Ted" ) for the second company |
[ Repeat 2 {Collect( DirectorName, DirectorGender Is "Male" )}] | List( "John", "Michael" ) for the first company, and List( "Ted", "Anthony" ) for the second company |
{Collect( DirectorName, DirectorGender Is "Male" )} | List( "John", "Michael", "Ted", "Anthony" ) |
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The repeated expression. |
2 | Boolean | The corresponding repeated expression which is true. |
3 | Any | The corresponding repeated expression determining the order of the collected values. |
Expression | Result |
|---|---|
[ Repeat 2 {Collect( DirectorName, true, DirectorAge )}] | List( "Mary", "Eva", "Michael", "John" ) for the first company, and List( "Anthony", "Ted" ) for the second company |
[ Repeat 2 {Collect( DirectorName, true, Inverse(DirectorAge) )}] | List( "John", "Michael", "Mary", "Eva" ) for the first company, and List( "Ted", "Anthony" ) for the second company |
{Collect( DirectorName, DirectorGender Is "Male", DirectorAge )} | List( "Anthony", "Michael", "Ted", "John" ) |
Parameter | Data Type | Description |
|---|---|---|
1 | Any | The repeated expression. |
2 | Boolean | The corresponding repeated expression which is true. |
3 | Any | The corresponding repeated expression determining the order of the collected values. |
4 | Any | The corresponding repeated variables that determine which repetitions are considered. |
Expression | Result |
|---|---|
[ Repeat 2 {Collect( RepeatCounter, true, DirectorAge, DirectorName )}] | List( "2", "3", "4", "1" ) for the first company, and List( "2", "1" ) for the second company |
[ Repeat 2 {Collect( RepeatContext, true, DirectorAge, DirectorName )}] | List( "[1][2]", "[1][3]", "[1][4]", "[1][1]" ) for the first company, and List( "[2][2]", "[2][1]" ) for the second company |
{Collect( RepeatContext, true, DirectorAge, DirectorName )} | List( "[1][2]", "[1][3]", "[2][2]", "[1][4]", "[2][1]", "[1][1]" ) |