Re: More effective code
- From: "Tom Ogilvy" <twogilvy@xxxxxxx>
- Date: Mon, 27 Jun 2005 11:39:10 -0400
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.
>
.
- References:
- More effective code
- From: Roman
- More effective code
- Prev by Date: Re: Object Browser does what?
- Next by Date: keyboard event in user form
- Previous by thread: More effective code
- Next by thread: keyboard event in user form
- Index(es):
Relevant Pages
|