mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2024-11-10 02:00:33 +01:00
System.UpCase procedure added
This commit is contained in:
parent
d9331d8235
commit
fcc3c349b8
@ -149,6 +149,8 @@ procedure _Halt0;
|
|||||||
procedure _HandleFinally;
|
procedure _HandleFinally;
|
||||||
procedure _StartExe(InitTable: PPackageInfo);
|
procedure _StartExe(InitTable: PPackageInfo);
|
||||||
|
|
||||||
|
function UpCase(Ch: KolibriChar): KolibriChar;
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
@ -215,4 +217,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
function UpCase(Ch: KolibriChar): KolibriChar;
|
||||||
|
begin
|
||||||
|
if Ch in ['a'..'z'] then
|
||||||
|
Dec(Ch, Ord('a') - Ord('A'));
|
||||||
|
Result := Ch;
|
||||||
|
end;
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
Loading…
Reference in New Issue
Block a user