Good afternoon! Help to resolve the arisen difficulty please...
There is the one-dimensional array consisting of four elements. It is necessary to pass this array in a cycle, comparing all elements. Proceeding from customary practices of programming. the decision shall be approximately such:
preparations = 1..4
NumberGroupDev: array(preparations,preparations) of integer
forall(p in preparations) do
forall(p2 in preparations) do
sum(s in sticks,b in preparations)FinalSupplyQty(p,s)*NumberGroupDev(p,p) - sum(b in preparations,s in sticks)FinalSupplyQty(p,s)*NumberGroupDev(p2,p) <=0
However in case of this approach for any reason only the first identical couple is selected, and the second is discarded. Prompt please how to implement bit-by-bit comparing of values of an one-dimensional array? In advance many thanks!