Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-10

fpc without short boolean evaluation

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

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.

Reply by email