Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.0.0 / tests / tbs / tb0175.pp
Size: Mime:
{ Old file: tbs0209.pp }
{ problem with boolean expressions of different store sizes }

program bug0209;

{ problem with boolean expression mixing different boolean sizes }

var
  b : boolean;
  wb : wordbool;
  lb : longbool;
begin
  b:=true;
  wb:=true;
  lb:=true;
  if (not b) or (not wb) or (not lb) then
    begin
       Writeln('Error with boolean expressions of different sizes');
       Halt(1);
    end;
end.