Skip to Content
0
Former Member
Dec 04, 2008 at 05:48 AM

Ranges declaration for integers "and" characters

54 Views

Hi All...

Is there any way in which we can declare a ranges variable for both integers and characters???

I want the ranges variable to check in between 10 to 13 and 30 to 33 and A to E.

I tried as ranges BT 'A' and 'E'. That is, it should only accept values in [A B C D E].

But the problem is, it is accepting the value [BETER] also.

How can this be solved.