mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 05:39:19 +02:00
Added overloads UintToStr for Delphi compatbibility (bug ID 0034690)
git-svn-id: trunk@40529 -
This commit is contained in:
parent
da5868b668
commit
93ec37a4bc
@ -850,6 +850,17 @@ begin
|
|||||||
System.Str(Value, result);
|
System.Str(Value, result);
|
||||||
end ;
|
end ;
|
||||||
|
|
||||||
|
function UIntToStr(Value: QWord): string;
|
||||||
|
|
||||||
|
begin
|
||||||
|
result:=IntTostr(Value);
|
||||||
|
end;
|
||||||
|
|
||||||
|
function UIntToStr(Value: Cardinal): string;
|
||||||
|
|
||||||
|
begin
|
||||||
|
System.Str(Value, result);
|
||||||
|
end;
|
||||||
|
|
||||||
{ IntToHex returns a string representing the hexadecimal value of Value }
|
{ IntToHex returns a string representing the hexadecimal value of Value }
|
||||||
|
|
||||||
|
@ -115,6 +115,8 @@ function IsValidIdent(const Ident: string; AllowDots: Boolean = False; StrictDot
|
|||||||
function IntToStr(Value: Longint): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
function IntToStr(Value: Longint): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
function IntToStr(Value: Int64): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
function IntToStr(Value: Int64): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
function IntToStr(Value: QWord): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
function IntToStr(Value: QWord): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
|
function UIntToStr(Value: QWord): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
|
function UIntToStr(Value: Cardinal): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
function IntToHex(Value: Longint; Digits: integer): string;
|
function IntToHex(Value: Longint; Digits: integer): string;
|
||||||
function IntToHex(Value: Int64; Digits: integer): string;
|
function IntToHex(Value: Int64; Digits: integer): string;
|
||||||
function IntToHex(Value: QWord; Digits: integer): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
function IntToHex(Value: QWord; Digits: integer): string; {$ifdef SYSUTILSINLINE}inline;{$ENDIF}
|
||||||
|
Loading…
Reference in New Issue
Block a user