git-svn-id: https://svn.code.sf.net/p/kolmck/code@70 91bb2d04-0c0c-4d2d-88a5-bbb6f4c1fa07
This commit is contained in:
10
KOL.pas
10
KOL.pas
@ -10579,6 +10579,7 @@ type
|
||||
//[Integer FUNCTIONS DECLARATIONS]
|
||||
procedure Swap( var X, Y: Integer ); overload;
|
||||
procedure Swap(var X, Y: Byte); overload;
|
||||
procedure Swap(var X, Y: String); overload;
|
||||
{* exchanging values }
|
||||
function Min( X, Y: Integer ): Integer;
|
||||
{* minimum of two integers }
|
||||
@ -14673,6 +14674,15 @@ begin
|
||||
Y := T;
|
||||
end;
|
||||
|
||||
procedure Swap(var X, Y: String); overload;
|
||||
var
|
||||
T: String;
|
||||
begin
|
||||
T := X;
|
||||
X := Y;
|
||||
Y := T;
|
||||
end;
|
||||
|
||||
//[function Min]
|
||||
function Min( X, Y: Integer ): Integer;
|
||||
asm
|
||||
|
Reference in New Issue
Block a user