[Users] How to use script variables in switch-cases?
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Mon May 14 18:34:32 CEST 2007
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
More information about the Users
mailing list