mirror of
https://github.com/vapaamies/KolibriOS.git
synced 2025-09-21 02:30:07 +02:00
System.UpCase procedure added
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user