About Question enthuware.ocajp.i.v7.2.1051 :
Moderator: admin
-
- Posts: 23
- Joined: Thu May 08, 2014 5:27 am
- Contact:
About Question enthuware.ocajp.i.v7.2.1051 :
Would like to add another fact to the explanation, that the value of the case label also should be compile time constance. Isn't it Mr. Paul??
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1051 :
That is correct. Further, you cannot have boolean expression for switch/case either. So it is invalid for that reason as well.
HTH,
Paul.
HTH,
Paul.
Who is online
Users browsing this forum: No registered users and 18 guests