Then you do
code:
$number=val(substr(@WKSTA,7))
select
case $number>=74 and $number <=88
case $number>=130 and $number<=144
case $number>=146 and $number<=160
endselect

And please provide more info the next time, we all have a paying job in addition to our KiXtarting and thus we'd like to help as fast as possible without pulling the details out of one's nose.
_________________________
There are two types of vessels, submarines and targets.