[fpc-devel] Proposal: Multiple assignments

"Vinzent Höfler" JeLlyFish.software at gmx.net
Sun Aug 8 10:15:33 CEST 2010

Sven Barth <pascaldragon at googlemail.com>:

> Well... in C a test for equality is always "==".

No, it's not. There's also strcmp(). ;)

> So, when reading it 
> (and not having read a Pascal code some minutes before :P ) one should 
> recognize without problems whether it's an assignment or a comparison 
> expression (it's another story that many people - including me - don't 
> recognize it that easily ^^)


C's main flaw is that assignments are expressions as well. And I'm not sure, I'd spot the difference immediately.

Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail

More information about the fpc-devel mailing list