Evaluating the min or max of a Number List in CL

Why this code is wrong?


Thank you!

Lists don’t really work when you call them in the CL. I think if you change to this it should work:


If not, just make a variable in the actual graph for your minimum, and call on that in the CL instead.

I can clarify a bit. CL won’t do any list operations except for the built in list functions. Min, max, length, elementAt (forgive me if I missed one). So max(this.numberList(T_a)) should work, but trying to compute the max of a list using numberList or simpleFunction won’t.


1 Like

Thank you that worked!