Prev: Error from Hell: Overflow
Next: Run time error 3021
From: fniles on 7 Nov 2005 11:34 Does the function UCase take a long time to do ? (If I do it in a loop) Thanks.
From: Dave on 7 Nov 2005 11:42 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 7 Nov 2005 12:18 > 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 7 Nov 2005 14:31 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. > >
|
Pages: 1 Prev: Error from Hell: Overflow Next: Run time error 3021 |