fpc/tests/webtbs/tw1532.pp
2024-10-31 22:35:04 +01:00

17 lines
241 B
ObjectPascal

uses sysutils;
Var I : Longint;
a:char;
begin
a:='A';
a:=upcase(a); //OK
Writeln;
Writeln (Lowercase('ABCDEFGHIJKLMNOPQRSTUVWXYZ')); //OK
Writeln (Lowercase(A)); // OK
a:=Lowercase(A); // ERROR
Writeln (a);
end.