I am facing few basic problems in analysing results of a list.
two points:
how to create a “List” or an array of results into a "Lists.(fyi the results are being generated in a loop)
2.“Sort” through the “List” and select the highest value in it.
I would really appreciate guidance to carry forth this logic in the rhinoscript.
I get the idea with your function, but I have written a few lines below and I presume there is mistake somewhere in the statement(I required the highest number of the list hence Ubound)
list = array(Total)
a = sort Ubound(list)
best = fixarray(a)
fixarray is a function: to obtain one element from a list.
Function fixArray(list)
fixArray = list(0)
End Function
could you see the problem with the logic in the first few lines?
I really appreciate your help.