R
Roger Maynard
This question probably seems dumb, but I'm converting a load of code
from VFox to C# under .NET (not before time !!)
I have a DO CASE... ENDCASE which tests for a variable lying in a
specific range. ie
DO CASE
CASE decimalnumb <8192
...Do this
CASE decimalnumb >=8192 AND decimalnumb<=16384
... Do This
....
Etc
ENDCASE
The switch operator seems to be the way to go - but how do I do the
comparative test??
I've done it with 'if' else.. at the moment, but this is cumbersome
Help!!
Roger Maynard
from VFox to C# under .NET (not before time !!)
I have a DO CASE... ENDCASE which tests for a variable lying in a
specific range. ie
DO CASE
CASE decimalnumb <8192
...Do this
CASE decimalnumb >=8192 AND decimalnumb<=16384
... Do This
....
Etc
ENDCASE
The switch operator seems to be the way to go - but how do I do the
comparative test??
I've done it with 'if' else.. at the moment, but this is cumbersome
Help!!
Roger Maynard