Hi Jerome,

you can use strings also - no cast will be done. But the values must be constants.

regards,
bogdan


Jerome Martin wrote:
On Mon, 2007-05-14 at 12:12 +0300, Bogdan-Andrei Iancu wrote:
Hi Peter,

the "case" syntax does not accept any variables, but only constant values (like in C also :) )

But is it limited to int or implicitly-castable-to-int values, like in C++ ?

Cheers,
Jerome


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to