|
-
Nov 21st, 1999, 01:00 AM
#2
Thread Starter
Guru
Enum:
A list of constants... How can I explain this... Look at the example:
Enum MyEnum
MyZero ' First value is zero if unspecified
MyOne ' If value is unspecified, it equals (the value from before) + 1
MyTwo
MyThree
MyEight = 8 ' Specified
MyNine
End Enum
Dim Something As MyEnum
Something = MyZero ' Something = 0
Something = MyTwo ' Something = 2
Something = MyNine ' Something = 9
This probably wasn't the best explanation... Check online help...
------------------
Yonatan
Teenage Programmer
E-Mail: [email protected]
ICQ: 19552879
AIM: RYoni69
[This message has been edited by Yonatan (edited 11-21-1999).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|