fpc/tests/webtbs/tw30082.pp
2016-05-02 08:23:14 +00:00

17 lines
290 B
ObjectPascal

{$mode objfpc}
{$h+}
var
s : rawByteString;
begin
s:='REGISTER'+'DATA';
writeln(stringcodepage(s));
if stringcodepage(s)<>0 then
halt(1);
s:=s+'NAME';
writeln(stringcodepage(s));
if (stringcodepage(s)<>0) and
(stringcodepage(s)<>DefaultSystemCodePage) then
halt(2);
end.