Op 29-8-2025 om 16:30 schreef Hairy Pixels via fpc-devel:
On Aug 28, 2025 at 5:10:56 AM, Sven Barth via fpc-devel
<fpc-devel@lists.freepascal.org> wrote:
Also there *will* be the if-then-expression, the question is only
when the merge request is finalized enough (I currently can't check,
so I can't comment on any progress there).
I didn’t realize it was imminent.
What about this:
if (if x > 10 then 1 else -1) > 0 then
;
You can do confusing things like this too right? I don’t think we’re
going to avoid confusion with the intrinsic or this syntax.
Determining the type of the nested IF is more complex in this case I guess.
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel