[fpc-pascal] fpc without short boolean evaluation

fpc at polnik.de fpc at polnik.de
Thu Oct 23 15:38:03 CEST 2008


Hello,

it is possible, to switch off the short boolean evaluation?

Normally follow code is possible:
...
i:=0;
if (i>=0) or (10/i > 1) then
	{do something};
...

For my academic studies I must switch off this short boolean evaluation,
because I need a pascal compiler with full boolean evaluation.  The
example code above must output a runtime error.

Best regards,
thomas polnik.



More information about the fpc-pascal mailing list