Hi.
I am trying to use switch this way, without success:
//thedata is a numeric variable
switch (thedata) {
case < 10:
...
case < 20:
...
case <= 30:
...
}
It seems that switch can only test for single string values. Can't I
make this kind of test using switch?
Thanks,
Robert Scheer
I am trying to use switch this way, without success:
//thedata is a numeric variable
switch (thedata) {
case < 10:
...
case < 20:
...
case <= 30:
...
}
It seems that switch can only test for single string values. Can't I
make this kind of test using switch?
Thanks,
Robert Scheer
Comment