ENUM :O
ENUM :O
well i am confused with the enum can explain the use and what it is Quote:
|
Re: ENUM :O
Many features\elements of Small are not exclusive to the language. If you are ever unsure of anything and cannot find it in an AMX-X search, don't hesitate to try Google. This will 9 out of 10 times answer your question as long as you are not searching something related to the functions/systems used in HL scripting. In this particular case, enum is widely used in many programming languages so you will get many hits when you search the web.
http://en.wikipedia.org/wiki/Enumerated_type http://www.cprogramming.com/tutorial/enum.html http://java.sun.com/docs/books/tutor...vaOO/enum.html |
Re: ENUM :O
i've click 3 of those.
didnt even understand LOL |
Re: ENUM :O
You clicked them but did you actually read and try to absorb what they say? You can't expect to be spoon-fed if you are trying to learn how to program on your own (no schooling\books).
|
Re: ENUM :O
For instance, you want to define a set of constants belonging to the same group. You could do it this way:
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 13:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.