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 / twide2.pp
Size: Mime:
{$ifdef UNIX}
uses
  cwstring;
{$endif UNIX}

var
  i : longint;
  w,w2 : widestring;
  u,u2 : unicodestring;
  a : ansistring;
  
begin
  setlength(w,1000);
  for i:=1 to 1000 do
    w[i]:=widechar(i);
  for i:=1 to 10 do
    begin
      a:=w;
      w2:=a;
    end;
  setlength(u,1000);
  for i:=1 to 1000 do
    u[i]:=widechar(i);
  for i:=1 to 10 do
    begin
      a:=u;
      u2:=a;
    end;
end.