Re: Help me with syntax please
From: Martin Harvey (Demon account) (martin_at_nospam_pergolesi.demon.co.uk)
Date: 12/17/04
- Next message: Rob Kennedy: "Re: Delphi4 string handling finally catches up with me."
- Previous message: Martin Harvey (Demon account): "Re: Delphi version control"
- In reply to: Eddy Fontaine: "Help me with syntax please"
- Next in thread: Maarten Wiltink: "Re: Help me with syntax please"
- Reply: Maarten Wiltink: "Re: Help me with syntax please"
- Reply: Charles Appel: "Re: Help me with syntax please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 17 Dec 2004 20:03:18 GMT
On Fri, 17 Dec 2004 16:32:24 +0100, "Eddy Fontaine"
<eddy.remove.fontaine@pandora.remove.be> wrote:
>I understand that bFoundFile will be set TRUE or FALSE by FindFirst(),
>but what means the '= 0' at the end ?
if i = 0 then
a := true
else
a := false;
is the same as:
a := i = 0;
And in fact, the latter code is more efficient. (Uses setcc instead of
conditional branch).
MH.
- Next message: Rob Kennedy: "Re: Delphi4 string handling finally catches up with me."
- Previous message: Martin Harvey (Demon account): "Re: Delphi version control"
- In reply to: Eddy Fontaine: "Help me with syntax please"
- Next in thread: Maarten Wiltink: "Re: Help me with syntax please"
- Reply: Maarten Wiltink: "Re: Help me with syntax please"
- Reply: Charles Appel: "Re: Help me with syntax please"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]