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