I don't understand loop #5765
|
Hello, I need help understanding this code: I see only 2 values: Why only 2 values? And if I write this way: I receive all the values: Why does it work this way? Thanks |
Answered by
amousset
Apr 13, 2025
Replies: 1 comment 1 reply
Because a report acts like another promise type, which means if it is considered as already correct it will be skipped in next identical iterations. In the case of a report, it means if a particular string has already been printed, it will not be printed again, hence only two lines. When adding the name of the parameter, all lines are unique, making all reports unique (and printed). |
1 reply
Answer selected by
mr1jingles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because a report acts like another promise type, which means if it is considered as already correct it will be skipped in next identical iterations. In the case of a report, it means if a particular string has already been printed, it will not be printed again, hence only two lines.
When adding the name of the parameter, all lines are unique, making all reports unique (and printed).