www.digitalmars.com         C & C++   DMDScript  

D - Small irelivant bug? Mabey...

reply "chris" <news flak.clara.co.uk> writes:
wcl.   cbSize = WNDCLASSEX.sizeof;

compiles ok. Surely the compiler should complain about the whitespace after the
fullstop?

chris
Apr 16 2004
parent reply "Matthew" <matthew stlsoft.org> writes:
Why?

"chris" <news flak.clara.co.uk> wrote in message
news:c5pm5u$1p5q$1 digitaldaemon.com...
 wcl.   cbSize = WNDCLASSEX.sizeof;

 compiles ok. Surely the compiler should complain about the whitespace
after the
 fullstop?

 chris
Apr 16 2004
parent reply "chris" <news flak.clara.co.uk> writes:
Because that is what i am used to with Delphi. If it is meant to be like that
fair enough, i just wasnt expecting it. ;-)

Do other languages allow whichspace after the fullstops?

chris



"Matthew" <matthew stlsoft.org> wrote in message
news:c5pmns$1q18$1 digitaldaemon.com...
 Why?

 "chris" <news flak.clara.co.uk> wrote in message
 news:c5pm5u$1p5q$1 digitaldaemon.com...
 wcl.   cbSize = WNDCLASSEX.sizeof;

 compiles ok. Surely the compiler should complain about the whitespace
after the
 fullstop?

 chris
Apr 16 2004
next sibling parent Andy Friesen <andy ikagames.com> writes:
chris wrote:
 Because that is what i am used to with Delphi. If it is meant to be like that
 fair enough, i just wasnt expecting it. ;-)
 
 Do other languages allow whichspace after the fullstops?
As far as I know, Delphi is the exception, not the rule. Python and the C-friends all allow whitespace both before and after the dot operator. -- andy
Apr 16 2004
prev sibling parent "Phill" <phill pacific.net.au> writes:
"chris" <news flak.clara.co.uk> wrote in message
news:c5pnga$1r5h$1 digitaldaemon.com...
 Because that is what i am used to with Delphi. If it is meant to be like
that
 fair enough, i just wasnt expecting it. ;-)

 Do other languages allow whichspace after the fullstops?
Java and also C++ allow this. Phill.
 chris



 "Matthew" <matthew stlsoft.org> wrote in message
 news:c5pmns$1q18$1 digitaldaemon.com...
 Why?

 "chris" <news flak.clara.co.uk> wrote in message
 news:c5pm5u$1p5q$1 digitaldaemon.com...
 wcl.   cbSize = WNDCLASSEX.sizeof;

 compiles ok. Surely the compiler should complain about the whitespace
after the
 fullstop?

 chris
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.659 / Virus Database: 423 - Release Date: 4/15/2004
Apr 16 2004