Index of max function


Author
Message
Andrew Papale
Andrew Papale
Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)Expert (1,000 reputation)
Group: Forum Members
Posts: 68, Visits: 243
Dear Inquisit Team,

What is the best way to find the index of a value in the max function?

i.e. index of max(4,0,1,3,2) would return 2, index of max(2,3,4,1,5) would return 4.

I feel like there might be a way to do this with lists:  https://www.millisecond.com/support/docs/current/html/language/functions/indexof.htm


Thanks,
Andrew

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
AndrewPapale - 2 Years Ago
AndrewPapale - 2 Years Ago
AndrewPapale - 2 Years Ago
Dave - 2 Years Ago
AndrewPapale - 2 Years Ago
                         A list has maximum and minimum properties....
Dave - 2 Years Ago
                             Thank you I was close. DIdn't know about the min max property of...
AndrewPapale - 2 Years Ago

Reading This Topic

Explore
Messages
Mentions
Search