[fpc-pascal] New feature: IfThen() intrinsic

Henry Vermaak henry.vermaak at gmail.com
Tue Feb 2 12:47:14 CET 2016


On Tue, Feb 02, 2016 at 12:34:17PM +0100, Michael Van Canneyt wrote:
> On Tue, 2 Feb 2016, Jonas Maebe wrote:
> >Michael Van Canneyt wrote on Tue, 02 Feb 2016:
> >>On Tue, 2 Feb 2016, Henry Vermaak wrote:
> >>>On Tue, Feb 02, 2016 at 11:24:57AM +0100, Michael Van Canneyt
> >>>wrote:
> >>>>On Tue, 2 Feb 2016, Henry Vermaak wrote:
> >>>Pascal is not a language full of programmer traps, let's try not to
> >>>add any!
> >>
> >>Well, see my reply about 'robust' code for an observation about
> >>these details.
> >
> >You only talked about the order of evaluation in that mail, while
> >Henry is talking about whether the arguments are evaluated at all.
> 
> I am aware of that (I knew I should have mentioned it explicitly, this
> is a programmers list!), but the exact same observation applies.

So you are saying that relying on all function arguments being evaluated
is bad?

Henry



More information about the fpc-pascal mailing list