Results 1 to 2 of 2

Thread: Enum query

Threaded View

  1. #1

    Thread Starter
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018

    Enum query

    If want to create an Enumeration where if I have the number 1,2 or 3 it is enum 1, 3,4 or 5 will be enum 2 and 6 will be enum 3 e.g(psuedo code):

    HTML Code:
    Enum TestResult
      Pass  = 1,2 or 3
      Maybe = 4 or 5
      Screwed = 6
    End Enum
    
    or like 
    
    Enum TestResult
      Pass  = 1,2,3
      Maybe = 4,5
      Screwed = 6
    End Enum

    How is this implemented?

    Thansk In Advance
    Last edited by venerable bede; Feb 3rd, 2011 at 09:32 AM.

    Parksie

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