I always think of enumerations as a logical grouping of numerical constants.
A bonus of enumerations is that you can assign multiple values to a single
variable.
enum fileaccess
faReadLock =0
faWriteLock=1
faReadShare=2
faWriteShareRead=4
faWriteShareWrite = 8
end enum
dim pintFileAccess as fileaccess = fileaccess.faWriteShareRead and
fileaccess.faWriteShareWrite
when you look at the properties of a control in the designer, many times you
will notice use of enumerations. Windows.WindowsState is an enumeration
FormWindowState.Normal = 0,
FormWindowState.Minimized = 1 ,
FormWindowState.Maximized = 2
Enumerations reduce ambiguity
"Jason" <so*****@microsoft.com> wrote in message
news:%2****************@TK2MSFTNGP03.phx.gbl...
Can someone explain, or point me to a good link that explains enumerations
for a newbie.
Thats