Substitute one out of 100 images on a slide

David McFarlane mcfarla9 at msu.edu
Tue Jul 12 16:37:21 UTC 2011


At 7/12/2011 12:28 PM Tuesday, Tobias wrote:
> > BTW, why do you have a Select Case... clause in your code
> > excerpt?  Since you have only one case, you could eliminate
> > that.  Also, why have a For loop from 1 to 101, and then include an
> > If clause for i=1?  Why not instead just do i=1 outside the loop, and
> > then loop for i = 2 to 101?  Also, this should make no difference,
> > but you could move the Set Mask_SlideImage = New SlideImage and Set
> > Mask_SlideImage = Nothing statements outside of the loop.
...
>You are right, this does not make too much sense. It is an artifact
>from another experiment when it made sense :-p
>Nevertheless, this does not seem to be time-consuming.

Except for the time & effort spent when someone tries to read & 
decipher the code.

-- David McFarlane, Professional Faultfinder

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list