Results 1 to 7 of 7

Thread: Sub Problems

Threaded View

  1. #4
    Fanatic Member Kaverin's Avatar
    Join Date
    Oct 2000
    Posts
    930
    You didn't have your Select Case block right.
    VB Code:
    1. 'assuming you keep the enum
    2. Select Case intState
    3.    Case State.Dormant 'or just Case Dormant.  if you use a lot of enums, qualifying them is more readable
    4.       'block to run when it's set as Dormant
    5.    Case State.Listening
    6.       'block to run when it's Listening
    7.    'etc...
    Last edited by Kaverin; Jul 21st, 2001 at 08:22 PM.
    I'm baaaack...
    VB5 Professional Edition, VC++ 6
    Using a 1 gHz Thunderbird, 256 mb RAM, 40 gb HD system with Win98se

    I feel special because I finally figured out how to loop midis: Post link
    I'm a fanatic too

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