[quote]1) Say I have to fill an array with 10 items. Is there a way to do it using a single TextField and cycle thru 10 inputs instead of using 10 different TextFields?
[/quote]
Have the user input values separated by commas or another delimiter, and use the Split() commend to turn the results into an array.
[quote]2) Is there a way to determine which is the biggest number stored in an array?
[/quote]
.Sort the array, and look at the value of the last item?
If you dont want to sort the array, the simplest method is
dim u as integer = myarray.ubound -1
dim highval as variant = -999999
dim highindex as integer
for x as integer = 0 to u
if myarray(x) > highval then
highval = myarray(x)
highindex = x
end if
next
Thank you. Just one more info: why do you use a variant?
Because I had no idea what your array contains.
Use an integer if it is numbers.