From: fniles on
Does the function UCase take a long time to do ? (If I do it in a loop)
Thanks.


From: Dave on

Set up 2 loops of a few hundred thousand, one with the UCase and one without
and then time them.

Easy.

Regards Dave O.

"fniles" <fniles(a)pfmail.com> wrote in message
news:egS4dk74FHA.1148(a)tk2msftngp13.phx.gbl...
> Does the function UCase take a long time to do ? (If I do it in a loop)
> Thanks.
>
>


From: Rick Rothstein [MVP - Visual Basic] on
> Does the function UCase take a long time to
> do ? (If I do it in a loop)

What does it matter? If you need the functionality, you need the
functionality. What is it you are doing that you are worried about
this in the first place?

Rick


From: mayayana on
It should be significantly faster if you use
UCase$. That avoids the variant conversion
you get with UCase.

If you have access to Matthew Curland's
Advanced Visual Basic 6 book, see page 361
for a discussion of the advantages of using
"$" and "W" functions where possible.

--
mayayanaXX1a(a)mindXXspring.com
(Remove Xs for return email.)
fniles <fniles(a)pfmail.com> wrote in message
news:egS4dk74FHA.1148(a)tk2msftngp13.phx.gbl...
> Does the function UCase take a long time to do ? (If I do it in a loop)
> Thanks.
>
>