Re: Is there a limit to the number of "things" in an enum
- From: Hendrik Maryns <hendrik_maryns@xxxxxxxxxxxxx>
- Date: Wed, 14 Mar 2007 14:57:55 +0100
printdude1968@xxxxxxxxx schreef:
On Mar 13, 2:08 pm, Roedy Green <see_webs...@xxxxxxxxxxxxxxxxxxxx>
wrote:
On Sat, 10 Mar 2007 22:44:12 GMT, JohnT <printdude1...@xxxxxxxxxxxx>
wrote, quoted or indirectly quoted someone who said :
public enum BoardPosition {enum 8onstants are names, not strings. Seehttp://mindprod.com/jgloss/enum.html
"QR","QK","QB","Q","K","KK","KB","KR",
"QRP1","QKP1","QBP1","QP1","KP1","KKP1","KBP1","KRP1",
"QRP2","QKP2","QBP2","QP2","KP2","KKP2","KBP2","KRP2",
"QRP3","QKP3","QBP3","QP3","KP3","KKP3","KBP3","KRP3",
"QRP4","QKP4","QBP","QP4","KP4","KKP4","KBP4","KRP4",
"QRP5","QKP5","QBP5","QP5","KP5","KKP5","KBP5","KRP5",
"QRP6","QKP6","QBP6",*"QP6"*,"KP6","KKP6","KBP6","KRP6",
"QRP7","QKP7","QBP7","QP7","KP7","KKP7","KBP7","KRP7";
}
for examples.
--
Canadian Mind Products, Roedy Green,http://mindprod.com
Priorities: Prevent global climate destabilisation. End both wars. Prepare for oil shortages.
So the quotation marks aren't necessary? But my IDE didn't complain
about them so what does that mean?
That you have a bad IDE?
H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
.
- Follow-Ups:
- Re: Is there a limit to the number of "things" in an enum
- From: printdude1968@xxxxxxxxx
- Re: Is there a limit to the number of "things" in an enum
- References:
- Is there a limit to the number of "things" in an enum
- From: JohnT
- Re: Is there a limit to the number of "things" in an enum
- From: Roedy Green
- Re: Is there a limit to the number of "things" in an enum
- From: printdude1968@xxxxxxxxx
- Is there a limit to the number of "things" in an enum
- Prev by Date: Re: J2RE 5.0 install failed on XP.
- Next by Date: Re: Is there a limit to the number of "things" in an enum
- Previous by thread: Re: Is there a limit to the number of "things" in an enum
- Next by thread: Re: Is there a limit to the number of "things" in an enum
- Index(es):
Relevant Pages
|