Ok, so I am in the middle of making my first Class Module. It is quite challenging/interesting. Its basically for general HTML sparsing.

My questions is on adding Enums to my Class. I know with certian other constants, the values are carfully chosen so you can add values together without getting a value that already exists. I was wondering how I should decide to choose values for the following situation...

I need to pass a value to a function that gets the inner HTML of a specified tag and there are 3 possible Enum constants: 1) Allow any HTML in the return value. 2) Allow no HTML in the return value. 3) Only disallow the the tag that the function was specified to find (MatchTag) in the return value.

Is there one way that is better than another to set it up? Here is what I have right now:
VB Code:
  1. Public Enum hcAllowInReturnContstants
  2.     hcAnyHTML = 1
  3.     hcNoMatchTags = 2
  4.     hcNoHTML = 4
  5. End Enum