fpc/utils/pas2js/samples/ifdemo.pp
2014-04-05 09:19:55 +00:00

13 lines
201 B
ObjectPascal

program ifdemo;
var
a : integer = 0;
begin
if a=1 then
Writeln('This should not be');
if a=2 then
Writeln('This should also not be')
else
Writeln('This should be OK');
end.