09-10-2020 12:43 PM
My question is in regards to the case structure functioning.
The numeric value input to the case selector can only be an integer?
I wish to input a real number into the case selector, is this possible?
09-10-2020 01:15 PM
You can input DBL as well, but it will get coerced to an integer so I would not do that. Your cases can be a range of integers as well, like "1..10". Do you have a specific example of what you need your cases to correspond to?
09-10-2020 01:32 PM
that's okay thank you- I was just curious- I got a number of ideas how I can get around not having that...
thanks very much
09-10-2020 02:06 PM
I'm not sure what you are trying to do, but remember that you should NEVER check equality with reals.