Weigh_Algorithm.txt
[*]This subroutine does not exit when it finds a solution, so multiple solutions may be triggered on any one call.
[*]This subroutine does not test all combinations e.g. the sums of weights of the pair [0,9], or of the triple [7,8,11], will not be checked.
I didn't realize, i will work on it tomorrow, thank you
[*]Each sum could be calculated but once and incrementally at each loop level, instead of twice per IF comparison in the innermost loop, which would reduce the number of [+] operations by a few orders of magnitude.
Yeah, you are right. I didnt create this kind of ( 0<= a <= 10) in Gx Works 3 software, but for sure there is a way to write it and use less "+". I am trying it , thank you. I will check every advices.