Hi I want to make a few global constants in my program for ease of writing. for example

I have a variable called type, which can be 1-3 depending on type (this is for passing information to a subroutine

I want to have some global constants like:

ccreate = 1
cdelete = 2
crename = 3

so that while writing the program I can have easy to read names for keeping track of what's going on.

for example:
Code:
EventCheck(ccreate, this_var)

public sub EventCheck(ByVal type as integer, ByVal other_var as integer)

     If type = ccreate then
          Do_this()
     Else If type = cdelete then
          Do_this_instead
     End If

end sub
I just don't know where to define a constant so that it is avaliable in all forms/modules and I don't know the exact syntax for such a definition.

Thanks