682 12

		
=	Set& fastcall operator =(const Set& rhs);	     rhs
--	boolfastcall operator ==(const Set& rhs) const;	  :   rhs (  )
!=	boolfastcall operator !=(const Set& rhs) const;	  :   rhs

        ,  
,       (type, minval  :

val) .  ,    ( +,   *), 
,    ,      , 
.    true  ,   
    .     !
   false.

  Set    :

		
Clear	Set&fastcall ClearQ;	 
Contains	boolfastcall Contains( const  el) const;	     1

    .    
  ,    Yes/No.  
 ,     ,  
,   , Y,   N.   
 :

Set <char, 0, 255> TrueKey;

  ''  '  'n'  'N';

 ,      Key 
  ,     Contains:

if (!TrueKey.Contains(Key))

ShowMessge("   ");

else ...

   .   ,    !
Editi     , ..    0  9. '
 ,     OnKeyPress   

Set <char, '0', '9'> Dig;                                           J
Dig  '0'  '1'  '2'  '3'  '4'  '5'                       1
 '6'  '7'  '8'  '9';

if (!Dig.Contains(Key))
{Key = 0; ();}

    ,   , !
 (   )      .  
    4   4.3.2.