Return to the WinAS400 Tips
From Many, One: Using Enumerations By Craig Pelkie
Let's say you're writing a program and you need to define a field that could be one of four different values. For example, you might have a field named "Season" to represent the season of the year (spring, summer, fall, winter). How would you represent the seasonal values in your code?
http://systeminetwork.com/article/many-one-using-enumerations
The above link may require a free, or paid, registration to view the article.
[report a broken link by clicking here]