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 / webtbs / tw10825.pp
Size: Mime:
program stringconcat;
//compile with -gh

{$ifdef FPC}{$mode objfpc}{$h+}{$INTERFACES CORBA}{$endif}
{$ifdef mswindows}{$apptype console}{$endif}
uses
 {$ifdef FPC}{$ifdef linux}cthreads,{$endif}{$endif}
 sysutils;

var
 wstr1: widestring;
begin
{$ifdef mswindows}
 winwidestringalloc:= false;
{$endif}
 //crash exist with winwidestringalloc also but with bigger application only
 wstr1:= '123';
 wstr1:= 'ABC'+wstr1+'abc';
 writeln(wstr1);
 flush(output);
end.