Index of max function


Author
Message
Andrew Papale
Andrew Papale
Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)Partner Member (990 reputation)
Group: Forum Members
Posts: 66, Visits: 233
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