
Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> The function is badly named: MinOfListOfNumbers() would be better.
>
[quoted text clipped - 31 lines]
>
> Please respond in the newgroup and not by email.
>Initalizing varMin to Null doesn't help either!
I don't think that's a problem. If varMin is Null, the
If varMin <= varValues(i)
will always be False and the assignment
varMin = varValues(i)
will be made. Am I missing something?
>> > varMin = Null 'Initialize to null
>> >
[quoted text clipped - 7 lines]
>> > End If
>> > Next
--
John Nurick [Microsoft Access MVP]
Please respond in the newgroup and not by email.
Douglas J. Steele - 19 Aug 2005 12:01 GMT
Sorry, you're right. varMin will get a value assigned the first time, so it
doesn't matter after that.

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
>>Initalizing varMin to Null doesn't help either!
>
[quoted text clipped - 20 lines]
>
> Please respond in the newgroup and not by email.