Hi,
You can click in the white box where it says "TRUE", while the I cursor is
selected (with tab).
In this box you can now put "1,2,3", "5..", "..5", etc. If there is a number
missing (e.g. two cases : "..5", "8.."), you'll have to make a default case.
The case always selects including the number (floating point numbers are
converted to integer). So in you example you need :Case 1: "6..", Case 2:
"..-6", Case 3: "-5..5". This does not exactly what you want but: "N>5",
"N<-5", "-5=
Regards,
Wiebe.
"Tom" wrote in message
news:3F8A2BE0.3CFC26A1@nOpam.com...
> I know how to do simple case structures ie True and False. Suppose
> however I have an integer N and I have three possibilities:
>
> Case1
>
> if N>5
> it does one thing
> cas
e 2
>
> if N<-5
> it does something else
> case 3
>
> if -5<5
> it does a third thing.
>
> How to do this in the simplest way?
>
> Thanks
>
> Tom
>
>