Login Page - Create Account

Support Board


Date/Time: Sun, 23 Feb 2025 21:30:15 +0000



Post From: Max/Min of more than 2 ScFloatArrays

[2021-02-19 15:25:18]
ForgivingComputers.com - Posts: 1012
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.