Explorar o código

* Some routines for list index error, delphi-compatible

Michaël Van Canneyt hai 1 ano
pai
achega
816e3fc538
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      rtl/objpas/sysconst.pp

+ 2 - 0
rtl/objpas/sysconst.pp

@@ -150,6 +150,8 @@ const
   SPatternCharMismatch          = 'Pattern mismatch char "%s" at position %d.';
   SAMPMError                    = 'Hour >= 13 not allowed in AM/PM mode.';
   SErrListIndexExt              = 'List index out of bounds (%d): %s object range is 0..%d';
+  SListIndexErrorEmptyReason = '%s is empty';
+  SListIndexErrorRangeReason = '%s object range is 0..%d';
 
   SShortMonthNameJan = 'Jan';
   SShortMonthNameFeb = 'Feb';