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 / test / tint2str1.pp
Size: Mime:
{$mode macpas}

procedure test2(c1,c2,c3,c4: char);
begin
  if (c1 <> 'a') or (c2 <> 'b') or (c3 <> 'c') or (c4 <> 'd') then
    halt(2);
end;


var
  l: longint;
begin
  l := 'abcd';
  test2(char(l shr 24),char(l shr 16),char(l shr 8),char(l));
end.