Re: More effective code

Tech-Archive recommends: Fix windows errors by optimizing your registry



Using the variable would be more efficient.

--
Regards,
Tom Ogilvy


"Roman" <r.pechan@xxxxxxxxx> wrote in message
news:1119885849.533744.43480@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi everybody,
> I just wonder which way is more effective:
>
> If I have a function which I use many times in a procedure is it better
> to call the functiom each time I need it or to declare a brand-new
> local variable and set it equal to the function result in the beginning
> of my code?
> The result of the function is not changed during this particular
> procedure.
>
> Thanks for answer.
>


.



Relevant Pages