G
Guest
i have written a code that fills 2 dynamic arrays, each array consisting of a
derived number of integer elements and the derived integer dimension, e.g
array1 has 20 objects each 50 mm in size and array 2 has 10 objects each 35mm
in size. I want to be able to write code that will work out what matrix of
array 1 and array 2 elements fit within a given parameter, e.g between 590
and 600 mm. e,g. I know that say 7 array 1 objects (350mm) and 7 array2
objects (245mm) will equate to 595mm and fit within the parameter. I can't
work out how to write the Loop statement to do this. Can anyone help please?
derived number of integer elements and the derived integer dimension, e.g
array1 has 20 objects each 50 mm in size and array 2 has 10 objects each 35mm
in size. I want to be able to write code that will work out what matrix of
array 1 and array 2 elements fit within a given parameter, e.g between 590
and 600 mm. e,g. I know that say 7 array 1 objects (350mm) and 7 array2
objects (245mm) will equate to 595mm and fit within the parameter. I can't
work out how to write the Loop statement to do this. Can anyone help please?