type
TXH0=(VV22,VLV,VLV22,NHVV,NHVV22);
  TXH= set OF TXH0;var
  s:stringbegin
  s:='VV22'
  if (s in txh) then
   beep;
end;
怎么才能实现这个功能,上面的代码运行不了。