Thread
:
What is ENUM for?
View Single Post
#
1
(
permalink
)
08-06-2007, 12:28 AM
HelloWorld
PT Admin
Awards Showcase
Total Awards
: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,118
iTrader: (
0
)
What is ENUM for?
Code:
enum
Status {
CONTINUE
,
WON
,
LOST
};
Seems useless to me, why can't you just use string instead?
__________________
PHP Code:
System
.
out
.
println
(
"Hello World!"
);
HelloWorld
View Public Profile
Send a private message to HelloWorld
Find all posts by HelloWorld