Sign in to follow this  
Followers 0
joeyone

Simple question

2 posts in this topic

If i have for example 15 numbers, 5, 16, 50 and so on

how can i do to pick the highest number ?

i want it to pick the highest number even if there is 15 or 18 numbers and so on..

so the amount of numbers is dynamic

hope someone can help me in this matter

Share this post


Link to post
Share on other sites



If you store the numbers in a single dimension array then you can use _ArrayMax() to return the highest value in the array.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0