It would appear so at first glance as the converted code works fine in c#.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sandeep Chandra Sent: Tuesday, 15 June 2004 8:42 a.m. To: NZ Borland Developers Group - Delphi List Subject: [DUG] D8.NET Following procedure doesn't compile procedure Tfrm_App_Main.FormCreate(Sender: TObject); var lMM : MailMessage; begin lMM := MailMessage.Create; lMM.To := '[EMAIL PROTECTED]';<--------------------Error line lMM.From := '[EMAIL PROTECTED]'; lMM.Subject := 'Test'; lMM.Body := ''; end; This is the error which compiler gives. [Error] App_Main.pas(28): Identifier expected but 'TO' found Isn't this suppose to work? It looks like a compiler bug to me. Regards Sandeep _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
