[fpc-pascal] Changing variable in conditional
Marco van de Voort
marcov at stack.nl
Wed Jan 9 20:31:14 CET 2013
In our previous episode, Mark Morgan Lloyd said:
> :-) I meant what I wrote: a comparison on the right producing a Boolean
> which is assigned to three variables in a list. The parentheses were to
> try to make it a bit clearer, and I note that a Perl list is in
> parentheses rather than brackets.
>
> I'm not saying I like it, or that it's Pascal. But something like that
> would probably upset the fewest people that matter. Perhaps I should
> have said
>
> [a, b, c] += Ord(d = e);
>
> :-)
I guess that is the bright side of it all. Sooner or later we can have an
obfuscated Pascal contest, just like the other ones :-)
More information about the fpc-pascal
mailing list