Login Page - Create Account

Support Board


Date/Time: Mon, 14 Jul 2025 20:10:07 +0000



Post From: Max/Min of more than 2 ScFloatArrays

[2021-02-19 15:25:18]
ForgivingComputers.com - Posts: 1081
What is the preferred way to find min/max of a >2 arrays, in ACSIL?

As you noted, max(a,b) takes only two parameters.

You can nest max statements:

3 parameters: a, b, c
max(a,max(b,c))

4 parameters: a, b, c, d
max(a,max(b,max(c,d)))

etc.