How To Use Spaces in Enumerated Types (161232)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
This article was previously published under Q161232 SUMMARY
Beginning with version 5.0, Visual Basic supports Enumerated Types.
Enumerations provide a convenient way to work with sets of related
constants and to associate constant values with identifiers. The identifier
may be defined as either a normal identifier or a more "friendly"
identifier that can contain spaces.
NOTE: Other identifiers, such as variable names and procedure names, can
not contain spaces.
REFERENCES
Microsoft Visual Basic 5.0 Books Online
"Using Enumerations to Work with Sets of Constants"
Microsoft Visual Basic Online Help
"Enum Statement"
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbhowto KB161232 |
---|
|