On Aug 22, 2006, at 12:05 PM, Norman Palardy wrote:

I was just trying to give Emile a way to do what he was attempting to do that does work with a select case instead of a huge If then else

Huge? Let's compare.


 Case Y < 100
    startY = 0
    endY   = 100

  Case Y >= 100 and Y < 200
    startY = 100
    endY   = 200

vs.

If Y < 100 Then
    startY = 0
    endY   = 100

ElseIf Y >= 100 and Y < 200 Then
    startY = 100
    endY   = 200

I must admit, however, that you *did* have a novel approach to the problem.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to