mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 22:09:45 +02:00
* Make hexdigits a global constant
This commit is contained in:
parent
65101b36dc
commit
b1412ec5c0
rtl/objpas
@ -190,6 +190,10 @@ const
|
||||
SLongDayNameSat = 'Saturday';
|
||||
SLongDayNameSun = 'Sunday';
|
||||
|
||||
const
|
||||
// Do not localize
|
||||
HexDigits: array[0..15] of char = '0123456789ABCDEF';
|
||||
|
||||
Function GetRunError(Errno : Word) : String;
|
||||
|
||||
Implementation
|
||||
|
@ -1,3 +1,4 @@
|
||||
|
||||
{
|
||||
*********************************************************************
|
||||
Copyright (C) 1997, 1998 Gertjan Schouten
|
||||
@ -877,9 +878,6 @@ end;
|
||||
|
||||
{ IntToHex returns a string representing the hexadecimal value of Value }
|
||||
|
||||
const
|
||||
HexDigits: array[0..15] of char = '0123456789ABCDEF';
|
||||
|
||||
function IntToHex(Value: Longint; Digits: integer): string;
|
||||
var i: integer;
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user