On Aug 22, 2006, at 9:31 AM, Maarten de Vries wrote:

On 22/08/06, Emile Schwarz <[EMAIL PROTECTED]> wrote:

You cant do that with Select Case. You'll have to use elseif's.

Not true.
You just have to think outside the box when using select case like this

  Select Case True

  Case Y < 100 // Was: Y < 100 // Row #1
    startY = 0
    endY   = 100

  Case Y >= 100 and Y < 200 // Was: Is > 100 And Is < 200 // Row #2
    startY = 100
    endY   = 200


  Case Y >= 200 and Y < 300 // Was: Is > 100 And Is < 200 // Row #3
    startY = 200
    endY   = 300


  Case Y >= 300 and Y < 400 // Was: Is > 100 And Is < 200 // Row #4
    startY = 300
    endY   = 400

  Case Y >= 400 and Y < 500 // Was: Is > 100 And Is < 200 // Row #5
    startY = 400
    endY   = 500

  End Select
_______________________________________________
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