why ; ?

BCS BCS at pathlink.com
Mon May 5 13:37:53 PDT 2008


Tomasz Sowinski wrote:
> BCS Wrote:
> 
> 
>>In "for(;;);" the trailing ; is a null statement.
> 
> 
> I just did that and the compiler said:
> "use '{ }' for an empty statement, not a ';' "
> 

it works in C.



More information about the Digitalmars-d mailing list