Back
Login
Register
Login
Register
Millisecond Forums
Home
»
Millisecond Forums
»
Inquisit 6
»
Index of max function
Index of max function
Post Reply
Like
3
Index of max function
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Andrew Papale
Andrew Papale
posted 2 Years Ago
ANSWER
HOT
Topic Details
Share Topic
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
Reply
Like
3
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Index of max function
AndrewPapale
-
2 Years Ago
Not sure how to edit, but obviously the examples I gave would be for...
AndrewPapale
-
2 Years Ago
This solution seems to work for values <=5 but is not general to...
AndrewPapale
-
2 Years Ago
I'm not at all sure what you want to do and for what purpose. Give a...
Dave
-
2 Years Ago
It's very simple. I want to find the index for which the minimum value...
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
Post Reply
Like
3
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Facebook
Explore
Messages
Mentions
Search