Talk:Loops/With multiple ranges: Difference between revisions

m (Thundergnat moved page Talk:Loops/with multiple ranges to Talk:Loops/With multiple ranges: Follow normal task title capitalization policy)
 
(2 intermediate revisions by the same user not shown)
Line 1:
==Further explanation needed==
I think that it needs of a more specific description in the task part.
At start I have got so much confusion because I have had no other experience of multiple conditional DO.
The real difficult was about how the several conditions act on the do loop and if they interact among themselves.
In a first time I have understood that all the conditions are in parallel/ cohoperation so I have suddenly asked to myselfç are the conditions in AND or in OR chain? Or in other words: all the condition must be true (to have a value in the range written) to run the DO inner code or at least one condition must be true (to have a value in the range written)?
Also reading all explanations in the Page of Task and in this Discussion page I have got no clear definition about this question.
So I had taken a look at other language codes and so I have got that the conditions of DO loop are in sequence and not in parallel mode.
So you run the DO loop using separately range of index value (J) in your PL/I code.
Moreover are prod and sum sequential or must they be initializated at each range/condition?
I have choosen the first option, but it is not clear for me what is that of PL/I code!--[[User:TempodiBasic|TempodiBasic]]
 
 
You can't expect RC coders to understand your programming language. You shold convert to some form of pseudo-code and explanation in English. <br>
It would also help if you went step-by-step through a single, two and maybe three ranges should produce - in a mix of pseudo-code and English. Thanks. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 19:05, 15 September 2018 (UTC)