Browse Source

rtl: changed PI to const

mattias 6 years ago
parent
commit
8fe2017c52
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/system.pas

+ 1 - 1
packages/rtl/system.pas

@@ -220,7 +220,7 @@ function ParamStr(Index: Longint): String;
 {*****************************************************************************
                                  Math
 *****************************************************************************}
-var // ToDo: make these const
+const
   PI: Double; external name 'Math.PI';
   MathE: Double; external name 'Math.E'; // Euler's number
   MathLN10: Double; external name 'Math.LN10'; // ln(10)