Browse Source

* Add some constants for Delphi compatibility

Michaël Van Canneyt 1 year ago
parent
commit
44cf5d776f
1 changed files with 5 additions and 0 deletions
  1. 5 0
      rtl/objpas/rtlconst.inc

+ 5 - 0
rtl/objpas/rtlconst.inc

@@ -567,6 +567,11 @@ ResourceString
   SMsgDlgYes = '&Yes';
   SMsgDlgYesToAll = 'Yes to a&ll';
 
+  // Constants for Delphi compatibility
+  sAttributeExists = 'Attribute ''%s'' already exists';
+  sDeviceExists = 'Device ''%s'' already exists';
+  sCannotManuallyConstructDevice = 'Manual construction of TDeviceInfo is not supported'; 
+  SArgumentOutOfRange = 'Argument out of range';
 
 implementation