Results 1 to 18 of 18

Thread: Is this really possible ?[Resolved]

Threaded View

  1. #1

    Thread Starter
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

    Is this really possible ?[Resolved]

    I want to use Select Case in this way (evaluation two values at the same time) , is it legal (It works half way though )?


    VB Code:
    1. 'Class member variables
    2.  Dim a As Integer
    3.  Dim b As Integer
    4.  
    5.  
    6. 'Inside a method .
    7. Select Case a AndAlso b
    8.  
    9.             Case a = 20, b = 40
    10.  
    11.             Case a = 70, b = 30
    12.  
    13.             Case a = 0, b = 1
    14.  
    15.         End Select
    Last edited by Pirate; Feb 12th, 2004 at 08:49 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width