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]
|
//[Integer FUNCTIONS DECLARATIONS]
|
||||||
procedure Swap( var X, Y: Integer ); overload;
|
procedure Swap( var X, Y: Integer ); overload;
|
||||||
procedure Swap(var X, Y: Byte); overload;
|
procedure Swap(var X, Y: Byte); overload;
|
||||||
|
procedure Swap(var X, Y: String); overload;
|
||||||
{* exchanging values }
|
{* exchanging values }
|
||||||
function Min( X, Y: Integer ): Integer;
|
function Min( X, Y: Integer ): Integer;
|
||||||
{* minimum of two integers }
|
{* minimum of two integers }
|
||||||
@ -14673,6 +14674,15 @@ begin
|
|||||||
Y := T;
|
Y := T;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
procedure Swap(var X, Y: String); overload;
|
||||||
|
var
|
||||||
|
T: String;
|
||||||
|
begin
|
||||||
|
T := X;
|
||||||
|
X := Y;
|
||||||
|
Y := T;
|
||||||
|
end;
|
||||||
|
|
||||||
//[function Min]
|
//[function Min]
|
||||||
function Min( X, Y: Integer ): Integer;
|
function Min( X, Y: Integer ): Integer;
|
||||||
asm
|
asm
|
||||||
|
Reference in New Issue
Block a user