Home

Paul Boddie schreef:
> On 3 Aug, 11:45, Stef Mientki <S.Mientki-nos...@mailbox.kun.nl> wrote:
>> Sorry, my question missed the essential "NOT",
>> here is an example, that behaves different in Delphi,
>> (so I guess Delphi is not a real language ;-)
>
> Delphi is based on Pascal, and from what I can recall from my
> university textbook, there isn't any mandatory short-circuit
> evaluation in Pascal: it's an implementation-dependent feature.
> Consequently, an expression involving boolean operators in such
> languages may well evaluate each term (potentially causing side-
> effects) before determining the final result.

I even thought Pascal never uses short-circuit evaluation, and always
evaluates all terms. I might be wrong about that though; it's been quite
a long time since I've used Pascal.

--
If I have been able to see further, it was only because I stood
on the shoulders of giants. -- Isaac Newton

Roel Schroeven

previous
next

Re: Can a base class know if a method has been overridden?
Re: Tkinter or wxpython?
Re: C++ Primer ex 8.3
Bug in my C++ program seems really strange. (Update on debugging progress)
Re: Newbie completely confused
Fundacja Avalon
Mam Marzenie
Niechciane i Zapomniane
Fundacja Iskierka
Akogo