There are people who write C++ without knowing bits of syntax like
'break'?

On Thu, 14 May 2009 10:22:20 +0200, you wrote:

>  Ole Braad-Sørensen wrote:
>  > On Tue, 12 May 2009 12:00:01 +0000, you wrote:
>  > 
>  >> Possibly you need breaks? :-)
>  >> 
>  >> switch(RqType)
>  >>  {
>  >>   case smtpConnect:  SMTP->Helo(); break;
>  >>   case smtpHelo:     SMTP->MailFrom(); break;
>  >>   case smtpEhlo:     SMTP->Auth(); break;
>  >>   case smtpAuth:     SMTP->MailFrom(); break;
>  >>   case smtpMailFrom: SMTP->RcptTo(); break;
>  >>   case smtpRcptTo:   SMTP->Data(); break;
>  >>   case smtpData:     SMTP->Quit(); break;
>  >>  }
>  > 
>  > No. Tried this too. 
>  
>  Really?
>  
>  > The breaks has no effect in this "switch"
>  > ( No "default" value )
>  
--

Robert Chafer
Silverfrost Limited

Office: +44 (0)161 795 1980
Email:  r...@silverfrost.com
Web:    http://www.silverfrost.com 

The contents of this message and any attachments to it are confidential and may 
be legally privileged. If you have received this message in error you should 
delete it from your system immediately and advise the sender. To any recipient 
of this message within Silverfrost, unless otherwise stated, you should 
consider this message and attachments as Silverfrost confidential.

Silverfrost Limited is registered in England, Company Number 3447013, 4 
Coulsden Drive, Manchester, M9 6AP, United Kingdom. 


-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to