Oops, sorry tabstop... I was being thick. I couldn't see the obvious.
Type: Posts; User: innuendo
Oops, sorry tabstop... I was being thick. I couldn't see the obvious.
Yes, it is actually the problem. The for loop is running through all members of the array, so you check one number and then the next after it.
tabstop is right saying that 5 is not the maximum of...
Sorry alyeska,
I see now what the problem is.
Every time runtime exits the for loop the max variable is newly assigned. A possible solution'd be to create a tmpmax variable, assign the value to...
alyeska,
is your array ordered in increasing order?
That was quick Velocity.
thanks
Hi,
could anybody tell me about the differences between using single and double quotation?
thanks