mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:28:08 +02:00
17 lines
258 B
ObjectPascal
17 lines
258 B
ObjectPascal
program Project1;
|
|
|
|
{$mode objfpc}{$H+}
|
|
{$Codepage UTF8}
|
|
|
|
type
|
|
CP437String = type ansistring(437);
|
|
|
|
var
|
|
s_cp437_1: CP437String;
|
|
begin
|
|
s_cp437_1 := '║'; //<--- buggy
|
|
if (length(s_cp437_1)<> 1) or
|
|
(ord(s_cp437_1[1])<> 186) then
|
|
halt(1);
|
|
end.
|